Hallo, ich habe das Problem, das der Apache bei 1024 FileHandles dicht macht.... Nun mein Frage.. Ich habe letztens im Buch etwas über den ulimit Befehl gelesen, und ein ulimit -a zeigte mir an, dass root max 1024 FileHandles offenhaben darf. Daher meine Frage.. Ist das nun ein Apache-Problem oder ein Problem des ulimit ? Danke für die Hilfe :) Timo Eckert
Hallo Timo <Zitiere wer="Timo Eckert">
Hallo,
und ein ulimit -a zeigte mir an, dass root max 1024 FileHandles offenhaben darf. Daher meine Frage.. Ist das nun ein Apache-Problem oder ein Problem des ulimit ?
Wäre vermutlich nicht gut, wenn dein httpd mit root-rechten laufen würde... wohl eher unter der ID wwwrun. -- Urs Müller CH-Bern http://www.urs-mueller.ch
Am Fri, 15 Feb 2002 09:29:45 +0100 (CET) schrieb "Urs Müller":
und ein ulimit -a zeigte mir an, dass root max 1024 FileHandles offenhaben darf. Daher meine Frage.. Ist das nun ein Apache-Problem oder ein Problem des ulimit ?
Wäre vermutlich nicht gut, wenn dein httpd mit root-rechten laufen würde... wohl eher unter der ID wwwrun.
Bei mir wird der Apache zweimal gestartet: ps aux |grep httpd root 170 0.0 2.9 7172 3848 ? S 11:43 0:00 \ /usr/sbin/httpd -f /etc/httpd/httpd.conf -D JSERV -D DAV -D PHP4 -D PHP -D SSL wwwrun 171 0.0 2.9 7172 3856 ? S 11:43 0:00 \ /usr/sbin/httpd -f /etc/httpd/httpd.conf -D JSERV -D DAV -D PHP4 -D PHP -D SSL Warum ist das so? In der httpd.conf steht: # If you wish httpd to run as a different user or group, you must run # httpd as root initially and it will switch. User wwwrun Group nogroup Also müßte er switchen, der alte Prozess unter root bleibt aber erhalten. Müßte der nicht beendet werden? Gruß -- Andreas Meyer http://home.wtal.de/MeineHomepage
participants (3)
-
Andreas Meyer
-
Timo Eckert
-
Urs Müller