You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Douglas King <da...@dak1.net> on 2002/12/19 05:55:29 UTC

[users@httpd] Apache 1.3.27 w/ RedHat 7.3 driving....

I have begun having a problem with my Apache server. The problem is as
follows:

I am not able to run / execute ANY Perl or cgi scripts...at all.  Right 
now, I cannot even ADD another site.  This server IS RUNNING approximately 
1,100 sites...MOST of them are virtual (second level domain hosting) 
http://www.xyz.abc.com type hosting....

In the error log for Apache, I get the following error message:

[Tue Nov 26 21:47:33 2002] [warn] (24)Too many open files: unable to open a
file descriptor above 15, you may need to increase the number of descriptors

[Tue Nov 26 21:47:34 2002] [notice] Apache/1.3.23 (Unix) (Red-Hat/Linux)
mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 configured
-- resuming normal operations

[Tue Nov 26 21:47:34 2002] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)

[Tue Nov 26 21:47:34 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)

[Tue Nov 26 21:47:52 2002] [error] [client 66.14.30.174] (24)Too many open
files: couldn't spawn child process:
/var/www/cgi-bin/domainname/mycgi_list.cgi

AND more recently:

[Wed Dec 18 19:59:48 2002] [crit] [client 64.12.96.73] (24)Too many open 
files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it 
is readable
[Wed Dec 18 20:00:02 2002] [crit] [client 64.12.96.73] (24)Too many open 
files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it 
is readable
[Wed Dec 18 20:00:19 2002] [crit] [client 66.69.18.234] (24)Too many open 
files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it 
is readable
[Wed Dec 18 20:00:23 2002] [crit] [client 64.12.96.7] (24)Too many open 
files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it 
is readable
[Wed Dec 18 20:00:33 2002] [crit] [client 64.12.96.8] (24)Too many open 
files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it 
is readable
[Wed Dec 18 20:00:34 2002] [crit] [client 64.12.97.12] (24)Too many open 
files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it 
is readable
[Wed Dec 18 20:01:19 2002] [crit] [client 209.237.238.160] (24)Too many 
open files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure 
it is readable
[Wed Dec 18 20:02:24 2002] [crit] [client 150.137.68.68] (24)Too many open 
files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it 
is readable
[Wed Dec 18 20:03:25 2002] [notice] caught SIGTERM, shutting down
[Wed Dec 18 20:03:29 2002] [warn] (24)Too many open files: unable to open a 
file descriptor above 15, you may need to increase the number of descriptors
[Wed Dec 18 20:03:30 2002] [notice] Apache/1.3.27 (Unix)  (Red-Hat/Linux) 
mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 configured 
-- resuming normal operations
[Wed Dec 18 20:03:30 2002] [notice] suEXEC mechanism enabled (wrapper: 
/usr/sbin/suexec)
[Wed Dec 18 20:03:30 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Wed Dec 18 20:03:32 2002] [error] (24)Too many open files: accept: (client 
socket)
[Wed Dec 18 20:03:32 2002] [error] (24)Too many open files: accept: (client 
socket)
[Wed Dec 18 20:03:34 2002] [error] (24)Too many open files: accept: (client 
socket)
[Wed Dec 18 20:03:40 2002] [error] (24)Too many open files: accept: (client 
socket)
[Wed Dec 18 20:03:46 2002] [error] (24)Too many open files: accept: (client 
socket)
[Wed Dec 18 20:03:46 2002] [error] (24)Too many open files: accept: (client 
socket)
[Wed Dec 18 20:03:46 2002] [error] (24)Too many open files: accept: (client 
socket)
[Wed Dec 18 20:03:51 2002] [error] (24)Too many open files: accept: (client 
socket)
[Wed Dec 18 20:04:28 2002] [notice] caught SIGTERM, shutting down
[Wed Dec 18 20:04:31 2002] [warn] (24)Too many open files: unable to open a 
file descriptor above 15, you may need to increase the number of descriptors
[Wed Dec 18 20:04:32 2002] [notice] Apache/1.3.27 (Unix)  (Red-Hat/Linux) 
mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 configured 
-- resuming normal operations
[Wed Dec 18 20:04:32 2002] [notice] suEXEC mechanism enabled (wrapper: 
/usr/sbin/suexec)
[Wed Dec 18 20:04:32 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)



Here is the info on the server:

It's an Athalon 650 mhz processor

1 gig ram

It's a Red Hat 7.3 machine running Apache 1.3.27 for the web server.


~~~~~~~~~

When you do a ulimit -a you get:

core file size        (blocks, -c) 0
data seg size         (kbytes, -d) unlimited
file size             (blocks, -f) unlimited
max locked memory     (kbytes, -l) unlimited
max memory size       (kbytes, -m) unlimited
open files                    (-n) 1024
pipe size          (512 bytes, -p) 8
stack size            (kbytes, -s) 8192
cpu time             (seconds, -t) unlimited
max user processes            (-u) 7168
virtual memory        (kbytes, -v) unlimited



The cgi scripts used to run...but have been stopped now for almost a month. 
The kernel, 2.4.19
was recently re-configured to basically have unlimited resources 
available...and the file limit or process was set to something like 1024.

Has anybody run across this problem? If so....what is my solution?


Re: [users@httpd] Apache 1.3.27 w/ RedHat 7.3 driving....

Posted by Aaron Sturm <aa...@hotmail.com>.
Doug,

Check this out:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=2194a36f
.0108100947.3bfc5999%40posting.google.com&rnum=15&prev=/groups%3Fq%3Dmax%2Bf
iles%2B%252B%2Blinux%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26start%3D1
0%26sa%3DN

I don't know if it'll help, but it's worth a shot. What you're describing is
a unix issue, not apache. You can only have so many files open before it
gets angry.

If it OS was solaris or hpux I could tell you off the top of my head.

Hope that helps.

-Aaron

----- Original Message -----
From: "Douglas King" <da...@dak1.net>
To: <Recipient list suppressed>
Sent: Wednesday, December 18, 2002 8:55 PM
Subject: [users@httpd] Apache 1.3.27 w/ RedHat 7.3 driving....


> I have begun having a problem with my Apache server. The problem is as
> follows:
>
> I am not able to run / execute ANY Perl or cgi scripts...at all.  Right
> now, I cannot even ADD another site.  This server IS RUNNING approximately
> 1,100 sites...MOST of them are virtual (second level domain hosting)
> http://www.xyz.abc.com type hosting....
>
> In the error log for Apache, I get the following error message:
>
> [Tue Nov 26 21:47:33 2002] [warn] (24)Too many open files: unable to open
a
> file descriptor above 15, you may need to increase the number of
descriptors
>
> [Tue Nov 26 21:47:34 2002] [notice] Apache/1.3.23 (Unix) (Red-Hat/Linux)
> mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 configured
> -- resuming normal operations
>
> [Tue Nov 26 21:47:34 2002] [notice] suEXEC mechanism enabled (wrapper:
> /usr/sbin/suexec)
>
> [Tue Nov 26 21:47:34 2002] [notice] Accept mutex: sysvsem (Default:
sysvsem)
>
> [Tue Nov 26 21:47:52 2002] [error] [client 66.14.30.174] (24)Too many open
> files: couldn't spawn child process:
> /var/www/cgi-bin/domainname/mycgi_list.cgi
>
> AND more recently:
>
> [Wed Dec 18 19:59:48 2002] [crit] [client 64.12.96.73] (24)Too many open
> files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it
> is readable
> [Wed Dec 18 20:00:02 2002] [crit] [client 64.12.96.73] (24)Too many open
> files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it
> is readable
> [Wed Dec 18 20:00:19 2002] [crit] [client 66.69.18.234] (24)Too many open
> files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it
> is readable
> [Wed Dec 18 20:00:23 2002] [crit] [client 64.12.96.7] (24)Too many open
> files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it
> is readable
> [Wed Dec 18 20:00:33 2002] [crit] [client 64.12.96.8] (24)Too many open
> files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it
> is readable
> [Wed Dec 18 20:00:34 2002] [crit] [client 64.12.97.12] (24)Too many open
> files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it
> is readable
> [Wed Dec 18 20:01:19 2002] [crit] [client 209.237.238.160] (24)Too many
> open files: /.htaccess pcfg_openfile: unable to check htaccess file,
ensure
> it is readable
> [Wed Dec 18 20:02:24 2002] [crit] [client 150.137.68.68] (24)Too many open
> files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it
> is readable
> [Wed Dec 18 20:03:25 2002] [notice] caught SIGTERM, shutting down
> [Wed Dec 18 20:03:29 2002] [warn] (24)Too many open files: unable to open
a
> file descriptor above 15, you may need to increase the number of
descriptors
> [Wed Dec 18 20:03:30 2002] [notice] Apache/1.3.27 (Unix)  (Red-Hat/Linux)
> mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 configured
> -- resuming normal operations
> [Wed Dec 18 20:03:30 2002] [notice] suEXEC mechanism enabled (wrapper:
> /usr/sbin/suexec)
> [Wed Dec 18 20:03:30 2002] [notice] Accept mutex: sysvsem (Default:
sysvsem)
> [Wed Dec 18 20:03:32 2002] [error] (24)Too many open files: accept:
(client
> socket)
> [Wed Dec 18 20:03:32 2002] [error] (24)Too many open files: accept:
(client
> socket)
> [Wed Dec 18 20:03:34 2002] [error] (24)Too many open files: accept:
(client
> socket)
> [Wed Dec 18 20:03:40 2002] [error] (24)Too many open files: accept:
(client
> socket)
> [Wed Dec 18 20:03:46 2002] [error] (24)Too many open files: accept:
(client
> socket)
> [Wed Dec 18 20:03:46 2002] [error] (24)Too many open files: accept:
(client
> socket)
> [Wed Dec 18 20:03:46 2002] [error] (24)Too many open files: accept:
(client
> socket)
> [Wed Dec 18 20:03:51 2002] [error] (24)Too many open files: accept:
(client
> socket)
> [Wed Dec 18 20:04:28 2002] [notice] caught SIGTERM, shutting down
> [Wed Dec 18 20:04:31 2002] [warn] (24)Too many open files: unable to open
a
> file descriptor above 15, you may need to increase the number of
descriptors
> [Wed Dec 18 20:04:32 2002] [notice] Apache/1.3.27 (Unix)  (Red-Hat/Linux)
> mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 configured
> -- resuming normal operations
> [Wed Dec 18 20:04:32 2002] [notice] suEXEC mechanism enabled (wrapper:
> /usr/sbin/suexec)
> [Wed Dec 18 20:04:32 2002] [notice] Accept mutex: sysvsem (Default:
sysvsem)
>
>
>
> Here is the info on the server:
>
> It's an Athalon 650 mhz processor
>
> 1 gig ram
>
> It's a Red Hat 7.3 machine running Apache 1.3.27 for the web server.
>
>
> ~~~~~~~~~
>
> When you do a ulimit -a you get:
>
> core file size        (blocks, -c) 0
> data seg size         (kbytes, -d) unlimited
> file size             (blocks, -f) unlimited
> max locked memory     (kbytes, -l) unlimited
> max memory size       (kbytes, -m) unlimited
> open files                    (-n) 1024
> pipe size          (512 bytes, -p) 8
> stack size            (kbytes, -s) 8192
> cpu time             (seconds, -t) unlimited
> max user processes            (-u) 7168
> virtual memory        (kbytes, -v) unlimited
>
>
>
> The cgi scripts used to run...but have been stopped now for almost a
month.
> The kernel, 2.4.19
> was recently re-configured to basically have unlimited resources
> available...and the file limit or process was set to something like 1024.
>
> Has anybody run across this problem? If so....what is my solution?
>
>


----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 1.3.27 w/ RedHat 7.3 driving....

Posted by Jurgen <ap...@squarehosting.com>.
Hi,

do you have seperate log files for each of your virtual hosts?

Jurgen


On Wed, 18 Dec 2002 22:55:29 -0600
Douglas King <da...@dak1.net> wrote:

> I have begun having a problem with my Apache server. The problem is as
> follows:
> 
> I am not able to run / execute ANY Perl or cgi scripts...at all.  Right 
> now, I cannot even ADD another site.  This server IS RUNNING approximately 
> 1,100 sites...MOST of them are virtual (second level domain hosting) 
> http://www.xyz.abc.com type hosting....
> 
> In the error log for Apache, I get the following error message:
> 
> [Tue Nov 26 21:47:33 2002] [warn] (24)Too many open files: unable to open a
> file descriptor above 15, you may need to increase the number of descriptors
> 
> [Tue Nov 26 21:47:34 2002] [notice] Apache/1.3.23 (Unix) (Red-Hat/Linux)
> mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 configured
> -- resuming normal operations
> 
> [Tue Nov 26 21:47:34 2002] [notice] suEXEC mechanism enabled (wrapper:
> /usr/sbin/suexec)
> 
> [Tue Nov 26 21:47:34 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
> 
> [Tue Nov 26 21:47:52 2002] [error] [client 66.14.30.174] (24)Too many open
> files: couldn't spawn child process:
> /var/www/cgi-bin/domainname/mycgi_list.cgi
> 
> AND more recently:
> 
> [Wed Dec 18 19:59:48 2002] [crit] [client 64.12.96.73] (24)Too many open 
> files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it 
> is readable
> [Wed Dec 18 20:00:02 2002] [crit] [client 64.12.96.73] (24)Too many open 
> files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it 
> is readable
> [Wed Dec 18 20:00:19 2002] [crit] [client 66.69.18.234] (24)Too many open 
> files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it 
> is readable
> [Wed Dec 18 20:00:23 2002] [crit] [client 64.12.96.7] (24)Too many open 
> files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it 
> is readable
> [Wed Dec 18 20:00:33 2002] [crit] [client 64.12.96.8] (24)Too many open 
> files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it 
> is readable
> [Wed Dec 18 20:00:34 2002] [crit] [client 64.12.97.12] (24)Too many open 
> files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it 
> is readable
> [Wed Dec 18 20:01:19 2002] [crit] [client 209.237.238.160] (24)Too many 
> open files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure 
> it is readable
> [Wed Dec 18 20:02:24 2002] [crit] [client 150.137.68.68] (24)Too many open 
> files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it 
> is readable
> [Wed Dec 18 20:03:25 2002] [notice] caught SIGTERM, shutting down
> [Wed Dec 18 20:03:29 2002] [warn] (24)Too many open files: unable to open a 
> file descriptor above 15, you may need to increase the number of descriptors
> [Wed Dec 18 20:03:30 2002] [notice] Apache/1.3.27 (Unix)  (Red-Hat/Linux) 
> mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 configured 
> -- resuming normal operations
> [Wed Dec 18 20:03:30 2002] [notice] suEXEC mechanism enabled (wrapper: 
> /usr/sbin/suexec)
> [Wed Dec 18 20:03:30 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
> [Wed Dec 18 20:03:32 2002] [error] (24)Too many open files: accept: (client 
> socket)
> [Wed Dec 18 20:03:32 2002] [error] (24)Too many open files: accept: (client 
> socket)
> [Wed Dec 18 20:03:34 2002] [error] (24)Too many open files: accept: (client 
> socket)
> [Wed Dec 18 20:03:40 2002] [error] (24)Too many open files: accept: (client 
> socket)
> [Wed Dec 18 20:03:46 2002] [error] (24)Too many open files: accept: (client 
> socket)
> [Wed Dec 18 20:03:46 2002] [error] (24)Too many open files: accept: (client 
> socket)
> [Wed Dec 18 20:03:46 2002] [error] (24)Too many open files: accept: (client 
> socket)
> [Wed Dec 18 20:03:51 2002] [error] (24)Too many open files: accept: (client 
> socket)
> [Wed Dec 18 20:04:28 2002] [notice] caught SIGTERM, shutting down
> [Wed Dec 18 20:04:31 2002] [warn] (24)Too many open files: unable to open a 
> file descriptor above 15, you may need to increase the number of descriptors
> [Wed Dec 18 20:04:32 2002] [notice] Apache/1.3.27 (Unix)  (Red-Hat/Linux) 
> mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 configured 
> -- resuming normal operations
> [Wed Dec 18 20:04:32 2002] [notice] suEXEC mechanism enabled (wrapper: 
> /usr/sbin/suexec)
> [Wed Dec 18 20:04:32 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
> 
> 
> 
> Here is the info on the server:
> 
> It's an Athalon 650 mhz processor
> 
> 1 gig ram
> 
> It's a Red Hat 7.3 machine running Apache 1.3.27 for the web server.
> 
> 
> ~~~~~~~~~
> 
> When you do a ulimit -a you get:
> 
> core file size        (blocks, -c) 0
> data seg size         (kbytes, -d) unlimited
> file size             (blocks, -f) unlimited
> max locked memory     (kbytes, -l) unlimited
> max memory size       (kbytes, -m) unlimited
> open files                    (-n) 1024
> pipe size          (512 bytes, -p) 8
> stack size            (kbytes, -s) 8192
> cpu time             (seconds, -t) unlimited
> max user processes            (-u) 7168
> virtual memory        (kbytes, -v) unlimited
> 
> 
> 
> The cgi scripts used to run...but have been stopped now for almost a month. 
> The kernel, 2.4.19
> was recently re-configured to basically have unlimited resources 
> available...and the file limit or process was set to something like 1024.
> 
> Has anybody run across this problem? If so....what is my solution?
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] MOD_GZIP NEED MIRROR PLZ

Posted by Francis McIsaac <ma...@shaw.ca>.
I attached the file....searched google for it.  Here is the site that I found.
Hope this helps.

 Virtual mirror of HOBBES on WGC: /os2/apps/internet/www/server/

Frank

Steve wrote:

> Hey,
>         Anyone have mod_gzip for apache 2 here??
>
> There main site has been down for weeks and i need a mirror to download it..
>
> /Steve
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

[users@httpd] MOD_GZIP NEED MIRROR PLZ

Posted by Steve <st...@iprimus.com.au>.
Hey,
        Anyone have mod_gzip for apache 2 here??

There main site has been down for weeks and i need a mirror to download it..

/Steve


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 1.3.27 w/ RedHat 7.3 driving....

Posted by "King_Henree@yahoo.com" <ki...@yahoo.com>.
You should probably try increasing your open file
limit again.  Also, check to make sure files are
getting closed and there are no open files that
shouldn't be, "fuser" might help with that.  And, with
so many sites on a single server you should seriously
consider getting an additional server to host some of
those sites to balance the load better.

Thanks.

--- Douglas King <da...@dak1.net> wrote:
> I have begun having a problem with my Apache server.
> The problem is as
> follows:
> 
> I am not able to run / execute ANY Perl or cgi
> scripts...at all.  Right 
> now, I cannot even ADD another site.  This server IS
> RUNNING approximately 
> 1,100 sites...MOST of them are virtual (second level
> domain hosting) 
> http://www.xyz.abc.com type hosting....
> 
> In the error log for Apache, I get the following
> error message:
> 
> [Tue Nov 26 21:47:33 2002] [warn] (24)Too many open
> files: unable to open a
> file descriptor above 15, you may need to increase
> the number of descriptors
> 
> [Tue Nov 26 21:47:34 2002] [notice] Apache/1.3.23
> (Unix) (Red-Hat/Linux)
> mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2
> mod_perl/1.26 configured
> -- resuming normal operations
> 
> [Tue Nov 26 21:47:34 2002] [notice] suEXEC mechanism
> enabled (wrapper:
> /usr/sbin/suexec)
> 
> [Tue Nov 26 21:47:34 2002] [notice] Accept mutex:
> sysvsem (Default: sysvsem)
> 
> [Tue Nov 26 21:47:52 2002] [error] [client
> 66.14.30.174] (24)Too many open
> files: couldn't spawn child process:
> /var/www/cgi-bin/domainname/mycgi_list.cgi
> 
> AND more recently:
> 
> [Wed Dec 18 19:59:48 2002] [crit] [client
> 64.12.96.73] (24)Too many open 
> files: /.htaccess pcfg_openfile: unable to check
> htaccess file, ensure it 
> is readable
> [Wed Dec 18 20:00:02 2002] [crit] [client
> 64.12.96.73] (24)Too many open 
> files: /.htaccess pcfg_openfile: unable to check
> htaccess file, ensure it 
> is readable
> [Wed Dec 18 20:00:19 2002] [crit] [client
> 66.69.18.234] (24)Too many open 
> files: /.htaccess pcfg_openfile: unable to check
> htaccess file, ensure it 
> is readable
> [Wed Dec 18 20:00:23 2002] [crit] [client
> 64.12.96.7] (24)Too many open 
> files: /.htaccess pcfg_openfile: unable to check
> htaccess file, ensure it 
> is readable
> [Wed Dec 18 20:00:33 2002] [crit] [client
> 64.12.96.8] (24)Too many open 
> files: /.htaccess pcfg_openfile: unable to check
> htaccess file, ensure it 
> is readable
> [Wed Dec 18 20:00:34 2002] [crit] [client
> 64.12.97.12] (24)Too many open 
> files: /.htaccess pcfg_openfile: unable to check
> htaccess file, ensure it 
> is readable
> [Wed Dec 18 20:01:19 2002] [crit] [client
> 209.237.238.160] (24)Too many 
> open files: /.htaccess pcfg_openfile: unable to
> check htaccess file, ensure 
> it is readable
> [Wed Dec 18 20:02:24 2002] [crit] [client
> 150.137.68.68] (24)Too many open 
> files: /.htaccess pcfg_openfile: unable to check
> htaccess file, ensure it 
> is readable
> [Wed Dec 18 20:03:25 2002] [notice] caught SIGTERM,
> shutting down
> [Wed Dec 18 20:03:29 2002] [warn] (24)Too many open
> files: unable to open a 
> file descriptor above 15, you may need to increase
> the number of descriptors
> [Wed Dec 18 20:03:30 2002] [notice] Apache/1.3.27
> (Unix)  (Red-Hat/Linux) 
> mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2
> mod_perl/1.26 configured 
> -- resuming normal operations
> [Wed Dec 18 20:03:30 2002] [notice] suEXEC mechanism
> enabled (wrapper: 
> /usr/sbin/suexec)
> [Wed Dec 18 20:03:30 2002] [notice] Accept mutex:
> sysvsem (Default: sysvsem)
> [Wed Dec 18 20:03:32 2002] [error] (24)Too many open
> files: accept: (client 
> socket)
> [Wed Dec 18 20:03:32 2002] [error] (24)Too many open
> files: accept: (client 
> socket)
> [Wed Dec 18 20:03:34 2002] [error] (24)Too many open
> files: accept: (client 
> socket)
> [Wed Dec 18 20:03:40 2002] [error] (24)Too many open
> files: accept: (client 
> socket)
> [Wed Dec 18 20:03:46 2002] [error] (24)Too many open
> files: accept: (client 
> socket)
> [Wed Dec 18 20:03:46 2002] [error] (24)Too many open
> files: accept: (client 
> socket)
> [Wed Dec 18 20:03:46 2002] [error] (24)Too many open
> files: accept: (client 
> socket)
> [Wed Dec 18 20:03:51 2002] [error] (24)Too many open
> files: accept: (client 
> socket)
> [Wed Dec 18 20:04:28 2002] [notice] caught SIGTERM,
> shutting down
> [Wed Dec 18 20:04:31 2002] [warn] (24)Too many open
> files: unable to open a 
> file descriptor above 15, you may need to increase
> the number of descriptors
> [Wed Dec 18 20:04:32 2002] [notice] Apache/1.3.27
> (Unix)  (Red-Hat/Linux) 
> mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2
> mod_perl/1.26 configured 
> -- resuming normal operations
> [Wed Dec 18 20:04:32 2002] [notice] suEXEC mechanism
> enabled (wrapper: 
> /usr/sbin/suexec)
> [Wed Dec 18 20:04:32 2002] [notice] Accept mutex:
> sysvsem (Default: sysvsem)
> 
> 
> 
> Here is the info on the server:
> 
> It's an Athalon 650 mhz processor
> 
> 1 gig ram
> 
> It's a Red Hat 7.3 machine running Apache 1.3.27 for
> the web server.
> 
> 
> ~~~~~~~~~
> 
> When you do a ulimit -a you get:
> 
> core file size        (blocks, -c) 0
> data seg size         (kbytes, -d) unlimited
> file size             (blocks, -f) unlimited
> max locked memory     (kbytes, -l) unlimited
> max memory size       (kbytes, -m) unlimited
> open files                    (-n) 1024
> pipe size          (512 bytes, -p) 8
> stack size            (kbytes, -s) 8192
> cpu time             (seconds, -t) unlimited
> max user processes            (-u) 7168
> virtual memory        (kbytes, -v) unlimited
> 
> 
> 
> The cgi scripts used to run...but have been stopped
> now for almost a month. 
> The kernel, 2.4.19
> was recently re-configured to basically have
> unlimited resources 
> available...and the file limit or process was set to
> something like 1024.
> 
> Has anybody run across this problem? If so....what
> is my solution?
> 
> >
---------------------------------------------------------------------
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> users-unsubscribe@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
users-help@httpd.apache.org


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Apache 1.3.27 w/ RedHat 7.3 driving....

Posted by "Dave [Hawk-Systems]" <da...@hawk-systems.com>.
>[Tue Nov 26 21:47:33 2002] [warn] (24)Too many open files: unable to open a
>file descriptor above 15, you may need to increase the number of descriptors
<clip>
>When you do a ulimit -a you get:
>
>core file size        (blocks, -c) 0
>data seg size         (kbytes, -d) unlimited
>file size             (blocks, -f) unlimited
>max locked memory     (kbytes, -l) unlimited
>max memory size       (kbytes, -m) unlimited
>open files                    (-n) 1024

perhaps increase this?

>pipe size          (512 bytes, -p) 8
>stack size            (kbytes, -s) 8192
>cpu time             (seconds, -t) unlimited
>max user processes            (-u) 7168
>virtual memory        (kbytes, -v) unlimited
>

Not a Linux guy (FreeBSD) so not sure about your resource allocation...  have
never run into this myself though.

Dave



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org