AW: [linux-l] "Cannot allocate memory: fork: Unable to fork new process"

Christian Boulanger c.boulanger at gmx.de
Di Dez 16 21:40:35 CET 2003


Hallo Steffen,

ps ax ergibt (allerding NACH reboot des vServers):

  PID TTY      STAT   TIME COMMAND
    1 ?        S      0:00 init
24117 ?        S      0:00 syslogd -m 0
24189 ?        S      0:00 /usr/sbin/sshd
24246 ?        S      0:00 xinetd -stayalive -reuse -pidfile
/var/run/xinetd.pid
24413 ?        S      0:00 /bin/sh
/usr/bin/safe_mysqld --defaults-file=/etc/my.
24469 ?        S      0:00
/usr/libexec/mysqld --defaults-file=/etc/my.cnf --bas
24475 ?        S      0:00
/usr/libexec/mysqld --defaults-file=/etc/my.cnf --bas
24476 ?        S      0:00
/usr/libexec/mysqld --defaults-file=/etc/my.cnf --bas
24479 ?        S      0:00
/usr/libexec/mysqld --defaults-file=/etc/my.cnf --bas
24489 ?        S      0:00 sendmail: accepting connections
24562 ?        S      0:00 /usr/sbin/httpd -DHAVE_SSL -DHAVE_PHP4
24570 ?        S      0:00 /usr/sbin/httpd -DHAVE_SSL -DHAVE_PHP4
24593 ?        S      0:00 crond
24631 ?        S      0:00 rhnsd --interval 240
25730 ?        R      0:00 /usr/sbin/sshd
25826 ?        S      0:00 /usr/libexec/openssh/sftp-server
25906 pts/0    S      0:00 -bash
26834 ?        Z      0:00 [sh <defunct>]
26835 pts/0    R      0:00 ps ax

Warum läuft denn mysql gleich viermal und apache zweimal?

Die letzten Zeilen vor dem Absturz lauten meistens:

piped_log_spawn: unable to fork(): Cannot allocate memory
piped_log_maintenance: unable to respawn '/root/confixx//pipelog.pl': Cannot
allocate memory
[Tue Dec 16 17:53:28 2003] [error] server reached MaxClients setting,
consider raising the MaxClients setting

Nach einem Reboot stürzt Apache ungefähr nach 5 Minuten ab.

Ich werde jetzt die SQLDumps retten und dann den Server neu installieren
lassen und alles neu installieren. Danach lasse ich meine Finger von den
Eingeweiden.

Gruß,

Christian

-----Ursprüngliche Nachricht-----
Von: linux-l-admin at mlists.in-berlin.de
[mailto:linux-l-admin at mlists.in-berlin.de]Im Auftrag von Steffen Dettmer
Gesendet: Dienstag, 16. Dezember 2003 10:05
An: linux-l at mlists.in-berlin.de
Betreff: Re: [linux-l] "Cannot allocate memory: fork: Unable to fork new
process"


* Christian Boulanger wrote on Sun, Dec 14, 2003 at 22:51 +0100:
> piped_log_spawn: unable to fork(): Cannot allocate memory

Was sagt denn "ps ax" dazu?

Oder kommt die Shell mit gleichen Fehler zurück :)?

oki,

Steffen

--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.

_______________________________________________
linux-l mailing list
linux-l at mlists.in-berlin.de
Die Mailingliste der BeLUG (Berliner Linux User Group)

Wenn du diese Mailingliste  abbestellen willst, gehe bitte auf
https://mlists.in-berlin.de/mailman/listinfo/linux-l
und trage dich dort bitte aus




Mehr Informationen über die Mailingliste linux-l