I have to remove many directory. but
rm -r /data
is so slow ( about some days) /data has
/data/a/b/c/d/e/f/g/h ....
many dirs
Does anyone know?
I have to remove many directory. but
rm -r /data
is so slow ( about some days) /data has
/data/a/b/c/d/e/f/g/h ....
many dirs
Does anyone know?
Our system admin said
"Apache use a TCP port on each connection"
so A server can serve 65534 (MAX) simultaneously. is it Right?
I think Apache use only 80 or 443. But , he use many file descriptor (not ports) isn't it ?
/sbin/sysctl -a | grep fs.file-max
fs.file-max = 123456789
is max I think Could you give me some information about it ?
I'd like to set the following:
ExpiresActive On
ExpiresByType application/x-flash-swf "access plus 1 days"
ExpiresByType application/x-shockwave-flash "access plus 1 days"
<FilesMatch "\.swf$">
Header set Cache-Control "public"
</FilesMatch>
but I usually set on html
<embed src="http://example.com/flash/example.swf?YYYYMMDDSS" />
What is the difference YYYYMMDDSS and Expires(mod_expires)?
I want to measure the justify stress-test result on production env.
How to measure req/sec by analyzing apache logs?
apache2.2
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %D" combined
Can I do with %t and %D parameters?
The SSL certification limit is comming so I'd like to upgrade these certifications.
Is there any solutions that check the certifications withought server proxy's cache? We have to been under proxy environment.
How can I clear the cache?
For Congestion due to frequency(many) access Are there any good apache module?
I wanna response 503 in the circumstance.
Every day this error occured
kernel: crond[1234]: segfault at xxxxxxx rip xxxx rsp xxx error 14
What's happen
When I open Google Maps on a client PC that is behind a Large Scale NAT (LSN, Carrier grade NAT) the number of concurrent connections is limited to 15.
Do you have any solutions how to enable more connections when behind an LSN(CGN)?
I want to add the PATH of the default for the user where a shell is set in /etc/passwd by /sbin/nologin. I write PATH in /etc/csh.login or /etc/profile,csh in case of bash or csh is OK. What about /sbin/nologin?
I'm using apache2.2
How to listen both Ipv6 and Ipv4?
or
only Ipv6 / only Ipv4
I set the following configuration in MySQL5.0
innodb_data_file_path = ibdata1:2000M;ibdata2:10M:autoextend:max:16000M
Though the data increase, size of ibdata2 does not change
Why does not size of mysql ibdata2 change?
I'm using mongrel + apache 2.2 + mod_proxy_balancer + mysql
apache2.2 is IPv6 well http://httpd.apache.org/docs/2.2/en/bind.html#ipv6
Does MySQL 5.0 do IPv6 well?
There is a completion function by the psql command of Cygwin or UNIX There is not the function in psql for a Windows native. How to make psql completion with Windows? may be need readline!?
I'm creating bridge network on Ubuntu 9.04(server)
I set up following configuration file
/etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet static
address 192.168.1.10
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
I don't know this parameter meenings bridge_fd,bridge_hello,bridge_maxage,bridge_stp
I set up /etc/postfix/main.cf
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
append_dot_mydomain = no
readme_directory = no
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname = example.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = example.com, example02.com, mail01.example.local, localhost.example.local, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.1.0/24
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
home_mailbox=Maildir/
and
/etc/init.d/postfix restart
but.. You have new mail in /var/mail/user
Why? What's wrong?
I make virtual environment with Ubuntu+KVM.
It is the following constitution, but it is lent IP (192.168.1.2) ubuntu02 by DHCPD, and the same IP seems to be lent to ubuntu03
router/dhcpd - ubuntu01(host) 192.168.1.100
- ubuntu02(kvm) 192.168.1.2
- ubuntu03(kvm) 192.168.1.2?
What's wrong?
ubuntu01:/etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet static
address 192.168.1.100
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
ubuntu0[23]:/etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
I usually execute this shell command sudo kvm -hda ubuntu.img -m 512 -localtime -net nic,model=pcnet -net tap,script=/etc/qemu-ifup -daemonize -nographic
/etc/qemu-ifup
#!/bin/sh
#sudo -p "Password for $0:" /sbin/ifconfig $1 172.20.0.1
sudo /sbin/ifconfig $1 0.0.0.0 promisc up
sudo /usr/sbin/brctl addif br0 $1
sleep 2
I set PATH in /etc/profile
. I do not have any problems in the case of the general user, but PATH does not go when I become the root authority in sudo
.
What would you do to override the PATH
which is set by /etc/profile
even if I become the root authority in sudo
?
When I was working in our server room, I noticed that it was very cold.
I know that the server room has to be cold to offset the heat of the servers, but perhaps it is TOO cold.
What is an appropriate temperature to keep our server room at?