Current time: 09-23-2024, 08:35 AM Hello There, Guest! (LoginRegister)


Post Reply 
high memory usage after 0:00u
Author Message
prale Offline
Junior Member
*

Posts: 92
Joined: Feb 2008
Reputation: 1
Post: #5
RE: high memory usage after 0:00u
English please or dutch, sorry.

CPU model Intel® Celeron® CPU 2.40GHz
CPU MHz 2399.85
CPU cache 128 KB
CPU bogomips 4803.73

I have installed prefork because I only have one CPU.
When you google, they say worker is only better if you have multiple cpu's.

Code:
/etc/cron.d/

awstats:
0,10,20,30,40,50 * * * * www-data [ -x /usr/lib/cgi-bin/awstats.pl -a -f /etc/awstats/awstats.conf -a -r /var/log/apache/access.log ] && /usr/lib/cgi-bin/awstats.pl -config=awstats -update >/dev/null

ispcp:
# delayed tasks START.

# Quota
@daily root /var/www/ispcp/engine/quota/ispcp-dsk-quota &>/var/log/ispcp/ispcp-dsk-quota.log

# Traffic
0,30    *       *       *       *  root /var/www/ispcp/engine/traffic/ispcp-srv-traff &>/var/log/ispcp/ispcp-srv-traff.log
0,30    *       *       *       *  root /var/www/ispcp/engine/traffic/ispcp-vrl-traff &>/var/log/ispcp/ispcp-vrl-traff.log
15,45   *       *       *       *  root /var/www/ispcp/engine/traffic/ispcp-vrl-traff-correction &>/var/log/ispcp/ispcp-vrl-traff-correction.log

# customer logs
@daily root /var/www/ispcp/engine/tools/ispcp-httpd-logs-mngr &>/var/log/ispcp/ispcp-httpd-logs-mngr.log

# Backup
@daily root /var/www/ispcp/engine/backup/ispcp-backup-all yes &>/var/log/ispcp/ispcp-backup-all-mngr.log
@daily root /var/www/ispcp/engine/backup/ispcp-backup-ispcp noreport &>/var/log/ispcp/ispcp-backup-ispcp-mngr.log

# Remove config backups older than seven days
@daily root find /etc/ispcp/*/backup/* -maxdepth 0 -type f -mtime +7 -print | egrep '.*\.[0-9]+$' | xargs -r /bin/rm

# Remove Daemon Logs older than 14 days (except .gz files)
@daily root find /var/log/ispcp/* -maxdepth 1 -type f -mtime +14 -print | egrep '.*\.gz$' | xargs -r /bin/rm

# AWStats
15      */6     *       *       *       root /var/www/ispcp/engine/awstats/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats.pl >/dev/null 2>&1

# Rootkit Hunter
0       */12    *       *       *       root /usr/bin/rkhunter --scan-knownbad-files --check-deleted --createlogfile --cronjob --createlogfile /var/log/rkhunter.log >/dev/null 2>&1

# Chkrootkit
0       */12    *       *       *       root /usr/sbin/chkrootkit &> /var/log/chkrootkit.log

# Look for and purge old sessions every 30 minutes
0,30 *     * * *     root   /var/www/ispcp/engine/tools/ispcpphptemp.sh >/dev/null 2>&1

# [{DMN_NAME}] backup task START.
# [{DMN_NAME}] backup task END.

# [{DMN_NAME}]:{CRONJOB_ID} custom task START.
# [{DMN_NAME}]:{CRONJOB_ID} custom task END.

# [{DMN_NAME}] AWStats static tasks START.
# [{DMN_NAME}] AWStats static tasks END.

# delayed tasks END.

mdadm:
#
# cron.d/mdadm -- schedules periodic redundancy checks of MD devices
#
# Copyright © martin f. krafft <madduck@madduck.net>
# distributed under the terms of the Artistic Licence 2.0
#
# $Id: mdadm.cron.d 147 2006-08-30 09:26:11Z madduck $
#

# By default, run at 01:06 on every Sunday, but do nothing unless the day of
# the month is less than or equal to 7. Thus, only run on the first Sunday of
# each month. crontab(5) sucks, unfortunately, in this regard; therefore this
# hack (see #380425).
6 1 * * 0 root [ -x /usr/share/mdadm/checkarray ] && [ $(date +\%d) -le 7 ] && /usr/share/mdadm/checkarray --cron --all --quiet

munin:
#
# cron-jobs for munin
#

MAILTO=root

@reboot         root  if [ ! -d /var/run/munin ]; then /bin/bash -c 'perms=(`/usr/sbin/dpkg-statoverride --list /var/run/munin`); mkdir /var/run/munin; chown ${perms[0]:-munin}:${perms[1]:-root} /var/run/munin; chmod ${perms[2]:-0755} /var/run/munin'; fi
*/5 * * * *     munin if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron; fi
14 10 * * *     munin if [ -x /usr/share/munin/munin-limits ]; then /usr/share/munin/munin-limits --force --contact nagios --contact old-nagios; fi

munin-node:
#
# cron-jobs for munin-node
#

MAILTO=root

# If the APT plugin is enabled, update packages databases approx. once
# an hour (12 invokations an hour, 1 in 12 chance that the update will
# happen), but ensure that there will never be more than two hour (7200
# seconds) interval between updates..
*/5 * * * *     root if [ -x /etc/munin/plugins/apt_all ]; then /etc/munin/plugins/apt_all update 7200 12 >/dev/null; elif [ -x /etc/munin/plugins/apt ]; then /etc/munin/plugins/apt update 7200 12 >/dev/null; fi

php4:
# /etc/cron.d/php4: crontab fragment for php4
#  This purges session files older than X, where X is defined in seconds
#  as the largest value of session.gc_maxlifetime from all your php.ini
#  files, or 24 minutes if not defined.  See /usr/lib/php4/maxlifetime

# Look for and purge old sessions every 30 minutes
09,39 *     * * *     root   [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/lib/php4/maxlifetime) -print0 | xargs -r -0 rm
~


php5:
# /etc/cron.d/php5: crontab fragment for php5
#  This purges session files older than X, where X is defined in seconds
#  as the largest value of session.gc_maxlifetime from all your php.ini
#  files, or 24 minutes if not defined.  See /usr/lib/php5/maxlifetime

# Look for and purge old sessions every 30 minutes
09,39 *     * * *     root   [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm
(This post was last modified: 04-01-2008 09:55 AM by prale.)
04-01-2008 08:42 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
high memory usage after 0:00u - prale - 03-28-2008, 03:24 AM
RE: high memory usage after 0:00u - BeNe - 03-28-2008, 03:28 AM
RE: high memory usage after 0:00u - prale - 04-01-2008, 08:29 AM
RE: high memory usage after 0:00u - joximu - 04-01-2008, 08:41 AM
RE: high memory usage after 0:00u - prale - 04-01-2008 08:42 AM
RE: high memory usage after 0:00u - prale - 04-01-2008, 09:33 AM
RE: high memory usage after 0:00u - joximu - 04-01-2008, 09:50 AM
RE: high memory usage after 0:00u - prale - 04-01-2008, 09:58 AM
RE: high memory usage after 0:00u - joximu - 04-01-2008, 10:56 AM
RE: high memory usage after 0:00u - prale - 04-02-2008, 02:08 AM
RE: high memory usage after 0:00u - prale - 04-19-2008, 10:03 PM
RE: high memory usage after 0:00u - prale - 04-19-2008, 10:11 PM
RE: high memory usage after 0:00u - joximu - 04-19-2008, 10:30 PM
RE: high memory usage after 0:00u - prale - 04-20-2008, 12:54 AM
RE: high memory usage after 0:00u - prale - 04-20-2008, 01:09 AM
RE: high memory usage after 0:00u - joximu - 04-20-2008, 03:13 AM
RE: high memory usage after 0:00u - prale - 04-20-2008, 08:07 AM
RE: high memory usage after 0:00u - joximu - 04-20-2008, 09:16 AM
RE: high memory usage after 0:00u - prale - 04-20-2008, 10:45 AM
RE: high memory usage after 0:00u - prale - 04-20-2008, 11:16 AM
RE: high memory usage after 0:00u - joximu - 04-20-2008, 08:10 PM
RE: high memory usage after 0:00u - prale - 04-21-2008, 12:40 AM
RE: high memory usage after 0:00u - joximu - 04-21-2008, 12:58 AM
RE: high memory usage after 0:00u - prale - 04-21-2008, 05:20 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)