Fedora 12 - Strage problem - Freezes

Discussion in 'Installation/Configuration' started by K_meleonu, Feb 23, 2010.

  1. K_meleonu

    K_meleonu New Member

    Hi to all,

    I have a P4, with Intel Celeron dual core 3.06 GHz, 1 GB RAM, 80GB HDD and Fedora release 12 Constantine on it.
    The HUGE problem is that the system hang's-up. Last time was an hour ago after it worked almost 12 hours whitout problems.
    When it hang's up i can't acces any service on it, can't use any commands (dowsn't matter if i am allready connected via SSH or directly on the server)
    The only problems i could find in the log's are in dmesg:

    Code:
    ------------[ cut here ]------------
    WARNING: at fs/quota/dquot.c:965 dquot_claim_space+0x9f/0x111() (Not tainted)
    Hardware name:  
    Modules linked in: p4_clockmod xt_TCPMSS ipt_LOG xt_limit xt_hashlimit xt_multiport xt_DSCP iptable_mangle ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 uinput snd_via82xx gameport snd_ac97_codec ac97_bus snd_seq snd_pcm snd_timer snd_page_alloc snd_mpu401_uart i2c_viapro snd_rawmidi ppdev parport_pc snd_seq_device i2c_core snd parport soundcore serio_raw 8139too 8139cp mii dm_multipath ata_generic pata_acpi pata_via sata_via [last unloaded: microcode]
    Pid: 2881, comm: freshclam Not tainted 2.6.31.12-174.2.19.fc12.i686 #1
    Call Trace:
     [<c0436dbb>] warn_slowpath_common+0x70/0x87
     [<c04f240e>] ? dquot_claim_space+0x9f/0x111
     [<c0436de4>] warn_slowpath_null+0x12/0x15
     [<c04f240e>] dquot_claim_space+0x9f/0x111
     [<c0539742>] ext4_mb_mark_diskspace_used+0x273/0x311
     [<c05375b2>] ? ext4_mb_use_preallocated+0x185/0x1a9
     [<c053c6e0>] ext4_mb_new_blocks+0x1e6/0x41a
     [<c0535874>] ext4_ext_get_blocks+0xf57/0x1168
     [<c05475f0>] ? do_get_write_access+0x313/0x349
     [<c0519ac4>] ? __ext4_get_inode_loc+0xd8/0x31a
     [<c0540000>] ? ext4_xattr_set+0x30/0xb8
     [<c05192be>] ? brelse+0x11/0x13
     [<c05196bc>] ? ext4_mark_iloc_dirty+0x3fc/0x47a
     [<c042835c>] ? __wake_up+0x37/0x40
     [<c051c222>] ext4_get_blocks+0x12b/0x398
     [<c051c5bd>] mpage_da_map_blocks+0x9b/0x6a1
     [<c0499937>] ? write_cache_pages+0x124/0x2b5
     [<c051d2a4>] ? __mpage_da_writepage+0x0/0x15b
     [<c0547ee8>] ? jbd2_journal_start+0x53/0xbb
     [<c0547f23>] ? jbd2_journal_start+0x8e/0xbb
     [<c051d022>] ext4_da_writepages+0x45f/0x623
     [<c0495b54>] ? generic_file_aio_write+0x69/0xb0
     [<c04c0411>] ? do_sync_write+0xae/0xe9
     [<c0499b15>] do_writepages+0x25/0x39
     [<c049514a>] __filemap_fdatawrite_range+0x57/0x5f
     [<c049589b>] filemap_flush+0x1a/0x1c
     [<c051b682>] ext4_alloc_da_blocks+0x2f/0x31
     [<c0516e73>] ext4_release_file+0x23/0x8c
     [<c04c16ef>] __fput+0xed/0x184
     [<c04c179e>] fput+0x18/0x1a
     [<c04bec41>] filp_close+0x56/0x60
     [<c04becab>] sys_close+0x60/0x8f
     [<c040365c>] syscall_call+0x7/0xb
    ---[ end trace 84394cc025389b98 ]---
    
    
    Can anyone gime me a hint? Where to search for clues? Wich could be the problem?
    I am starting to regret i have installed Fedora 12.
    Any answers will be welcomed.

    Thank you all in advance
     
  2. K_meleonu

    K_meleonu New Member

    I have found the problem.
    I found the server frozeed again and the first command it came'd in my mind was "w"

    [root@CrazyDesign log]# w
    05:52:19 up 7:12, 4 users, load average: 121.68, 150.87, 156.52
    USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
    root pts/0 86.106.120.7 22:41 0.00s 0.35s 0.02s w
    root pts/1 86.106.120.7 22:50 5:50m 7.36s 7.28s speed
    root pts/21 86.106.120.7 00:24 5:25m 0.03s 0.03s -bash
    root pts/22 86.106.120.7 00:24 5:26m 2:12 2:12 top

    I was having 4 terminals (putty) opened on the server from the last reboot, in one of then i was having top started and i saw httpd many times there, so i took my chnaces and ran service httpd restart in one of the terminals.
    After that the server camed back to life.

    In my httpd error log i have:

    Code:
    [Wed Feb 24 04:54:20 2010] [error] [client 207.46.199.42] File does not exist: /var/www/sharedip/robots.txt
    [Wed Feb 24 05:51:59 2010] [warn] child process 20824 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 19731 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20565 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20893 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20204 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20205 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20896 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20897 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20207 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20898 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20568 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20409 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20899 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20575 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20576 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20577 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20578 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20583 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20584 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20585 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20586 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20587 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20588 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20589 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20590 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20596 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20597 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20598 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20599 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20600 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20601 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20602 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20603 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20604 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20605 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20606 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20607 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20902 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20903 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20976 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20981 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20984 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20985 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 20986 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 21132 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 21133 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 21134 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 21139 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 21224 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 21225 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 21228 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 21229 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 21230 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 21394 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 21486 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 21489 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 21636 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 21725 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 21804 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 21894 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 21982 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22282 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22353 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22354 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22365 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22440 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22447 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22452 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22596 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22601 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22604 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22702 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22705 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22789 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22790 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22791 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22792 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22907 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22908 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22911 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22912 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 22913 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23023 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23152 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23159 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23169 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23171 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23200 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23201 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23202 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23206 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23240 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23293 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23312 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23317 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23441 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23442 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23525 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23526 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23527 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23726 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23727 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23728 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23760 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23777 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23778 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23794 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23795 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23798 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23799 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23806 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23816 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23830 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 23831 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24067 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24071 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24072 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24073 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24083 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24084 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24085 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24088 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24089 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24090 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24091 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24094 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24095 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24127 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24168 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24184 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24250 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24251 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24252 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24255 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24256 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24257 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24258 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24259 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24262 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24347 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24420 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24436 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24445 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24455 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24539 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24540 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24772 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24932 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 24937 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:51:59 2010] [warn] child process 25023 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 20565 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 20205 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 20896 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 20897 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 20898 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 20568 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 20409 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 20584 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 20585 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 20590 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 20599 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 20600 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 20604 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 20605 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 20984 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 21133 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 21134 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 21224 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 21394 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 22282 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 22353 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 22365 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 22440 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 22912 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 23152 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 23159 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 23200 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 23201 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 23317 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 23727 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 23778 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 23830 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 24088 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 24127 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 24251 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 24252 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 24262 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 24347 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 24420 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 24539 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 24540 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:01 2010] [warn] child process 25023 still did not exit, sending a SIGTERM
    [Wed Feb 24 05:52:02 2010] [notice] caught SIGTERM, shutting down
    [Wed Feb 24 05:52:10 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Wed Feb 24 05:52:11 2010] [notice] Digest: generating secret for digest authentication ...
    [Wed Feb 24 05:52:11 2010] [notice] Digest: done
    [Wed Feb 24 05:52:16 2010] [error] python_init: Python version mismatch, expected '2.6', found '2.6.2'.
    [Wed Feb 24 05:52:16 2010] [error] python_init: Python executable found '/usr/bin/python'.
    [Wed Feb 24 05:52:16 2010] [error] python_init: Python path being used '/usr/lib/python26.zip:/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload'.
    [Wed Feb 24 05:52:16 2010] [notice] mod_python: Creating 4 session mutexes based on 150 max processes and 0 max threads.
    [Wed Feb 24 05:52:16 2010] [notice] mod_python: using mutex_directory /tmp 
    [Wed Feb 24 05:52:17 2010] [notice] Apache/2.2.14 (Unix) DAV/2 PHP/5.3.1 mod_python/3.3.1 Python/2.6.2 mod_ruby/1.3.0 Ruby/1.8.6(2009-08-04) configured -- resuming normal operations
    [Wed Feb 24 05:54:35 2010] [error] [client 67.195.114.248] File does not exist: /var/www/sharedip/robots.txt
    [Wed Feb 24 05:54:36 2010] [error] [client 67.195.114.248] File does not exist: /var/www/sharedip/index.php
    [Wed Feb 24 05:54:46 2010] [error] [client 207.46.199.42] File does not exist: /var/www/sharedip/robots.txt
    
    You ccan see that from 04:54:20 to 05:51:59 are no records.
    I have restarted httpd around 05:50 and then it started to log again.

    Can anyone knows how to "repair" apache?
    For the moment i haved added a cron job to run from 2 to 2 hours and restard httpd.

    Thank you all for reading my post and for yout replys
     
  3. falko

    falko Super Moderator ISPConfig Developer

  4. K_meleonu

    K_meleonu New Member

    Thank you for your reply falko.
    I have done some research today and before reading the link you gaved me i have fond the following.
    When the server "dies" i have werry werry much httpd instances starded.
    I thing that could be from an httpd flood (port 80 flood)
    For that i am thinking to some iptables limit lines and a cron script to check how many httpd instances are stared and if they are more that X number to restart httpd.

    Do you think this is ok? I mean, i don't see why this would not work, but i want a second opinion.

    Thank you again for reading the post and aswering to it.
     
  5. falko

    falko Super Moderator ISPConfig Developer

    I'd use monit for this: http://www.howtoforge.com/server_monitoring_with_munin_monit_debian_etch_p2
     
  6. K_meleonu

    K_meleonu New Member

    Hi there,
    Thank's for the link.
    I use Fedora 12 but that is not a problem. I have installed and configured monit to do what i need.
    I saw that there might be a but with monit.
    It does not do a killall -9 httpd or /etc/init.d/httpd stop . Instead of that it kill's the pid of the httpd.
    At a service httpd status or /etc/init.d/httpd status it show's httpd is stopped but at a ps aux | grep httpd you can see the httpd processes started and the webserver / web sites is/are accessible.

    For the moment i am leaving it as it is to see how it work's. I have stopped the cron job (i had one to restart httpd from time to time to avoid past problems).

    Thank's again for your answers.
     
  7. K_meleonu

    K_meleonu New Member

    Hi to all,
    Solved the last problem with httpd and monit.
    because monit does NOT kill all httpd instances and does just a PID kill i have made some modifications to work as it sould.

    First of all i have to mention that this tweak is made on a Fedora Release 12.

    In /etc/monit.conf i have this:

    Code:
    check process httpd with pidfile /var/run/httpd/httpd.pid
       group www
       start program = "/usr/bin/restart-apache"
       stop program  = "/etc/init.d/httpd stop"
       if failed host 127.0.0.1 port 80 protocol http
          and request "/monit/token" then restart
       if cpu is greater than 50% for 2 cycles then alert
       if cpu > 70% for 5 cycles then restart
       if totalmem > 900 MB for 5 cycles then restart
       if children > 450 then restart
       if loadavg(5min) greater than 10 for 8 cycles then stop
       if 3 restarts within 5 cycles then timeout
    
    /usr/bin/restart-apache has the following inside:
    Code:
    #!/bin/bash
    killall -9 /usr/sbin/httpd;
    service httpd restart;
    
    Now monit does what i need and work's perfect.

    If is there someone with problems i will be glad to help him.
     

Share This Page