>> Edit article
이름
제목
패스워드
안녕하세요 ^^; 서버를 돌리고 있습니다. 0anacron ----------- #!/bin/sh # # anacron's cron script # # This script updates anacron time stamps. It is called through run- parts # either by anacron itself or by cron. # # The script is called "0anacron" to assure that it will be executed # _before_ all other scripts. anacron -u cron.daily logrotate --------- #!/bin/sh /usr/sbin/logrotate /etc/logrotate.conf makewhatis.cron --------------- #!/bin/bash LOCKFILE=/var/lock/makewhatis.lock # the lockfile is not meant to be perfect, it's just in case the # two makewhatis cron scripts get run close to each other to keep # them from stepping on each other's toes. The worst that will # happen is that they will temporarily corrupt the database... [ -f $LOCKFILE ] && exit 0 trap "rm -f $LOCKFILE" EXIT touch $LOCKFILE makewhatis -u -w exit 0 slocate.cron ------------ #!/bin/sh renice +19 -p $$ >/dev/null 2>&1 /usr/bin/updatedb -f "nfs,smbfs,ncpfs,proc,devpts" - e "/tmp,/var/tmp,/usr/tmp,/afs,/net" sysstat ------- #!/bin/sh # generate a daily summary of process accounting. umask 0022 /usr/lib/sa/sa2 -A & tetex.cron ---------- #!/bin/bash # Remove and TeX fonts not used in 90 days /usr/sbin/tmpwatch 2160 /var/lib/texmf exit 0 tmpwatch -------- /usr/sbin/tmpwatch 240 /tmp /usr/sbin/tmpwatch 720 /var/tmp [ -d /var/cache/man ] && /usr/sbin/tmpwatch -f 240 /var/cache/man/ {X11R6/cat?,cat?,local/cat?} [ -d /var/catman ] && /usr/sbin/tmpwatch -f 240 /var/catman/ {X11R6/cat?,cat?,local/cat?} 질문은 위와 같은 cron service들이 /etc/cron.daily/ 밑에 존재합니다. 저는 시스템 관리에 대해서 잘 몰라서 물어보니 매일 정해진 시간에 돌아 간다고 합니다. 그리고 위의 것들은 배포판에 기본적으로 되어 있는 것들 이라고 합니다. 그 외에 cron 서비스로 DB 백업과 백업된 파일을 ftp로 전 송하는 부분이 따로 추가되어 있습니다. 부팅한 이후에 따로 생성하는 프로세스는 게임서버뿐입니다. 리눅스를 게 임서버로 사용하고 있습니다. 그런데 이상하게도 다음날 아침에 오면 메모리가 꼭 상당히 많이 늘어나 있는 것입니다. ^^; 그래서 DB 백업에 관련된 cron 서비스를 제거도 해봤 습니다만 여전히 메모리가 밤 사이에 늘어나 있었습니다. ^^; 아무래도 따 로 돌아가는 프로세스는 cron 밖에 없는 것 같아서 이렇게 질문을 하게 되 었습니다. 게임 서버에서 쓰는 메모리가 아님은 분명한 듯 하고 그렇다고 그렇게 많 이 쓰고 있는 프로세스도 top을 통해 확인해보면 없습니다. ^^; 그럼 즐거운 하루 되시기 바랍니다. ~--^^;
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved