file descriptor

I‘m using RHEL 6 / CentOS 6.x and install the memcached server. However, whey I try to start the server using service memcached start command, I get the following error:

Starting memcached: failed to set rlimit for open files. Try running as root or requesting smaller maxconns value. [FAILED]

How do I fix this problem?

{ 2 comments }

Q. I’ve installed Apache 2.2 from FreeBSD 7.0 ports and when I try to start I get following warning on screen:

Performing sanity check on apache22 configuration:
Syntax OK
Starting apache22.
[Wed Sep 17 22:01:58 2008] [warn] (2)No such file or directory: Failed to enable the ‘httpready’ Accept Filter

How do I fix this error?

{ 11 comments }

I’ve Squid Proxy server with over 100 Windows workstation. I see following error message in my cache.log file – “WARNING! Your cache is running out of filedescriptors”. Do I need to filter proxy server requests to avoid this problem? How do I fix this problem under CentOS / Fedora / RHEL / Debian Linux?

{ 5 comments }

Q. I’m using Red hat Enterprise Linux server. I’m getting following error in /var/log/message file: Apr 16 16:38:02 server ntpd[22694]: sendto(10.0.77.54): Bad file descriptor Apr 16 16:38:08 server ntpd[22694]: sendto(66.111.46.200): Bad file descriptor Apr 16 16:38:25 server ntpd[22694]: sendto(83.133.111.7): Bad file descriptor Apr 16 16:38:28 server ntpd[22694]: sendto(81.169.156.100): Bad file descriptor How do I fix [...]

{ 3 comments }

Save Bash Shell Script Output To a File

by Vivek Gite on August 14, 2006 · 3 comments

How do I save my bash shell script output to a file?

{ 3 comments }