• Quick note - the problem with Youtube videos not embedding on the forum appears to have been fixed, thanks to ZiprHead. If you do still see problems let me know.

Skepticwiki Virtual Server Memory

Diamond

Illuminator
Joined
Jun 2, 2003
Messages
4,729
Dear Customer,

We have noticed that your virtual server is currently using a
significant amount of memory. Combined with the excessive memory usage
of two other customers, this is having a negative impact on the overall
performance of the host system.

Can you please take a look and reduce the amount of memory you are
using. If necessary, please restart your server.

Thank you,

How do I check how much memory I am using and what is using that memory? This is Fedora 4 we're talking about.
 
Code:
[root@v049 ~]# ps aux
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root     19225  0.0  0.0  1528  184 ?        Ss   Aug15   0:04 syslogd -m 0
root      8847  0.0  0.0  4276  312 ?        Ss   Aug19   0:15 /usr/sbin/sshd
root      1468  0.0  0.0  2104   28 ?        S    Aug23   0:00 /bin/sh /usr/bin/mysqld_safe -
mysql     1501  0.0  0.7 112960 11696 ?      Sl   Aug23   4:25 /usr/libexec/mysqld --defaults
root     24964  0.0  0.0  3968   16 ?        S    Aug23   0:00 /usr/sbin/vsftpd /etc/vsftpd/v
root     12850  0.0  0.0  5540 1304 ?        Ss   Oct21   0:08 /usr/libexec/postfix/master
postfix  12857  0.0  0.0  5644 1256 ?        S    Oct21   0:00 qmgr -l -t fifo -u
root     25713  0.0  0.1 49012 2704 ?        Ss   Nov05   0:00 /usr/sbin/httpd
apache   25716  0.0  0.9 51732 14724 ?       S    Nov05   0:29 /usr/sbin/httpd
apache   25717  0.0  0.9 51992 14088 ?       S    Nov05   0:30 /usr/sbin/httpd
apache   25718  0.0  0.8 52032 13404 ?       S    Nov05   0:29 /usr/sbin/httpd
apache   25719  0.0  0.8 52408 12652 ?       S    Nov05   0:30 /usr/sbin/httpd
apache   25720  0.0  0.8 52120 13904 ?       S    Nov05   0:32 /usr/sbin/httpd
apache   25721  0.0  0.9 52256 14072 ?       S    Nov05   0:34 /usr/sbin/httpd
apache   25722  0.0  0.8 52008 12588 ?       S    Nov05   0:32 /usr/sbin/httpd
apache   25723  0.0  0.8 52168 12972 ?       S    Nov05   0:29 /usr/sbin/httpd
apache   26730  0.0  0.8 52048 13040 ?       S    Nov05   0:30 /usr/sbin/httpd
apache   26857  0.0  0.9 51712 14064 ?       S    Nov05   0:30 /usr/sbin/httpd
apache   27358  0.0  0.8 52236 13748 ?       S    Nov05   0:31 /usr/sbin/httpd
apache    7050  0.0  0.9 52396 14056 ?       S    Nov05   0:25 /usr/sbin/httpd
apache   29231  0.0  0.8 52452 13904 ?       S    Nov07   0:11 /usr/sbin/httpd
postfix  21059  0.0  0.1  5588 1656 ?        S    18:21   0:00 pickup -l -t fifo -u
postfix   3950  0.0  0.1  5576 1648 ?        S    19:23   0:00 proxymap -t unix -u
root      5027  0.0  0.1  7156 2188 ?        Ss   19:34   0:00 sshd: root@pts/16
root      5054  0.0  0.0  2156 1296 pts/16   Ss   19:34   0:00 -bash
root      5959  0.0  0.0  2304  768 pts/16   R+   19:44   0:00 ps aux
 
Hiow come all the apache httpd's? I'd expect one surely.

No, that's typical for apache. It uses one per connection plus a few spare so there isn't a delay while additional ones fire up. The min/max and number of spare child processes is set in the apache config. For a shared machine like this that actually seems low.

I'm wondering why they're using an old beta version of MediaWiki (1.5beta4) when version 1.5.2 is the current stable version. Not sure that will help, but it would probably be my first step in fixing.

MySQL seems to be heavily used by various sites, but that's probably to be expected. Since most wiki pages are dynamically generated it can hit MySQL quite a bit. Not sure if there are any optimizations available.

PHP 5 would be my next suscpision, just because it hasn't been available that long yet....
 
How long has MediaWiki 1.5.2 been out? I installed the latest and greatest at the time (about six weeks ago)

Does anyone see that I'm using lots of memory to excess? I did raise the amount of memory used by php from 8 to 32M but that's it.
 
How long has MediaWiki 1.5.2 been out? I installed the latest and greatest at the time (about six weeks ago)

i dunno, i'm still using 1.4.9 (personal site so I can't do any load comparisons on it). I just noticed today after seeing your site was running a beta.

Does anyone see that I'm using lots of memory to excess? I did raise the amount of memory used by php from 8 to 32M but that's it.

It's kind of hard to tell from a single snapshot. Memory load will go up with additional connections. The more apache processes the more PHP and MySQL connections. The note you got is probably due to an average over time. They may be able to provide more detail, perhaps point to a specific process causing the problem.

Did you bump up the PHP memory for a specific reason? If not, move it back to 24M, if everything works OK there move it back to 16M. It could be that PHP is requesting more memory than it actually needs.
 
I'm wondering why they're using an old beta version of MediaWiki (1.5beta4) when version 1.5.2 is the current stable version. Not sure that will help, but it would probably be my first step in fixing.

All of the 1.5.x series are pretty solid since at some time or another they have supported wikipedia.
 

Back
Top Bottom