Re: [users@httpd] Apache/php: Max number of open files

2018-08-21 Thread Jørn
On Tuesday, August 21, 2018 22:51:09 Darryl Philip Baker wrote: > I forgot to add the systemd directive, LimitNOFILE= Which is the number > of file descriptors. Thanks!! I added this under the [Service] section: LimitNOFILE=8192 Then did a $ systemctl daemon-reload $ /bin/systemctl restart http

Re: [users@httpd] Apache/php: Max number of open files

2018-08-21 Thread Jørn
On Tuesday, August 21, 2018 22:45:56 Darryl Philip Baker wrote: > Systemd stores the scripts in /lib/systemd/system and /etc/systemd/system. I got that catalog but no scripts to start up the apache web server. Only a config file named httpd.service: # See httpd.service(8) for more information

Re: [users@httpd] Apache/php: Max number of open files

2018-08-21 Thread Darryl Philip Baker
I forgot to add the systemd directive, LimitNOFILE= Which is the number of file descriptors. Darryl Baker (he/him/his) Sr. System Administrator Distributed Application Platform Services Northwestern University 1800 Sherman Ave. Suite 6-600 – Box #39 Evanston, IL 60201-3715 darryl.ba...@nort

Re: [users@httpd] Apache/php: Max number of open files

2018-08-21 Thread Darryl Philip Baker
Systemd stores the scripts in /lib/systemd/system and /etc/systemd/system. Darryl Baker (he/him/his) Sr. System Administrator Distributed Application Platform Services Northwestern University 1800 Sherman Ave. Suite 6-600 – Box #39 Evanston, IL 60201-3715 darryl.ba...@northwestern.edu (847) 467-

Re: [users@httpd] Apache/php: Max number of open files

2018-08-21 Thread Jørn
On Tuesday, August 21, 2018 21:52:34 Darryl Philip Baker wrote: > Have you tried adding a ulimit command to raise the number of open files in > the apache start script or systemd service file? If I only knew where the startup script is. Back in the (good) old days everything was located under /

Re: [users@httpd] Apache/php: Max number of open files

2018-08-21 Thread Darryl Philip Baker
Have you tried adding a ulimit command to raise the number of open files in the apache start script or systemd service file? Darryl Baker (he/him/his) Sr. System Administrator Distributed Application Platform Services Northwestern University 1800 Sherman Ave. Suite 6-600 – Box #39 Evanston, IL

[users@httpd] Apache/php: Max number of open files

2018-08-21 Thread Jørn
Hello, I'm struggeling with the maximum number of open files in a php script executed through the apache web server. I have done two tests - one from shell and one through the apache web server. Both tests open as many files as possible in a given folder (named a-1.dat, a-2.dat and s