DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 3rd June 2008
fenrisW0lf fenrisW0lf is offline
Port Guard
 
Join Date: May 2008
Posts: 17
Thanked 0 Times in 0 Posts
Default pagedaemon 100% cpu usage

Hi all,

I am having a bit of trouble with apache and php 5 (Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8e DAV/2 SVN/1.4.6 PHP/5.2.6). I have SVN running over apache and I can commit and update changes without any issue. I have mercurial setup over apache and can sync with remote repositories no problem.

I can run
Code:
<?php
phpinfo();
?>
in a php file and get the configuration back without any problems...


I am pretty sure I have enough free space...
Code:
#df -i
Filesystem  512-blocks      Used     Avail Capacity  iused    ifree  %iused  Mounted on
/dev/wd0a     78544440   6075320  68541900     8%   188037  4696441     3%   /
kernfs               2         2         0   100%      896      128    87%   /kern
If I try to launch dokuwiki, the server locks up. I tried running top to see what was going on and it looks like pagedaemon is hogging the cpu. Is there something that I am doing wrong? Once this process starts to hog the cpu I can't seem to shut it down it locks out my ssh session and I am forced to hard reboot the server.


Code:
#top
load averages:  9.77,  8.53,  5.52                             up 0 days,  1:01   20:22:43
48 processes:  5 runnable, 42 sleeping, 1 on processor
CPU states:  0.0% user,  0.0% nice, 99.4% system,  0.6% interrupt,  0.0% idle
Memory: 150M Act, 73M Inact, 384K Wired, 5204K Exec, 11M File, 20K Free
Swap: 129M Total, 129M Used, 8K Free

  PID USERNAME PRI NICE   SIZE   RES STATE      TIME   WCPU    CPU COMMAND
   10 root     -18    0     0K   16M pgdaemon  11:10 99.02% 99.02% [pagedaemon]
  817 www       28    0    50M   12M RUN        0:01  0.00%  0.00% httpd
  172 www       -5    0    50M   11M biowait    0:01  0.00%  0.00% httpd
  170 www       -5    0    50M 8816K biowait    0:01  0.00%  0.00% httpd
   12 root     -18    0     0K   16M aiodoned   0:01  0.00%  0.00% [aiodoned]
15679 root      28    0   188K  404K CPU        0:00  0.00%  0.00% top
  796 www       28    0    50M   14M RUN        0:00  0.00%  0.00% httpd
17953 www       28    0    50M 6532K RUN        0:00  0.00%  0.00% httpd
28765 root      28    0    24K  128K RUN        0:00  0.00%  0.00% atrun
  222 root      28    0   180K   80K RUN        0:00  0.00%  0.00% syslogd
   11 root      18    0     0K   16M syncer     0:00  0.00%  0.00% [ioflush]
  792 root      18    0   228K    4K pause      0:00  0.00%  0.00% <csh>
  787 troy.wil  18    0   228K    4K pause      0:00  0.00%  0.00% <csh>
    9 root      14    0     0K   16M crypto_w   0:00  0.00%  0.00% [cryptoret]
    6 root      10    0     0K   16M usbtsk     0:00  0.00%  0.00% [usbtask-hc]
    5 root      10    0     0K   16M usbevt     0:00  0.00%  0.00% [usb0]
    8 root      10    0     0K   16M usbevt     0:00  0.00%  0.00% [usb1]
    7 root      10    0     0K   16M usbtsk     0:00  0.00%  0.00% [usbtask-dr]
  755 root      10    0   248K    4K nanoslee   0:00  0.00%  0.00% <cron>
 3700 root      10    0   144K    4K wait       0:00  0.00%  0.00% <sh>
    1 root      10    0   100K    4K wait       0:00  0.00%  0.00% <init>
  103 root       3    0    56K    4K ttyin      0:00  0.00%  0.00% <getty>
  105 root       3    0    56K    4K ttyin      0:00  0.00%  0.00% <getty>
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forum usage: How to thank? Greg_Morgan Off-Topic 2 9th October 2009 12:49 AM
dd and split usage problem paul-lkw FreeBSD General 4 31st January 2009 08:13 PM
memory usage monitoring using net-snmp ducu_00 FreeBSD Ports and Packages 2 11th October 2008 03:12 PM
Script to mail me resources usage? bigb89 Programming 5 20th July 2008 06:58 AM
FreeBSD and bandwidth usage per subnett/IP espenfjo FreeBSD General 2 4th July 2008 08:05 AM


All times are GMT. The time now is 01:16 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick