You are not logged in.

#1 2007-01-25 18:31:51

Purch
Member
From: Finland
Registered: 2006-02-23
Posts: 229

rlocate - cron job crash

Rlocate works like a charm. I can do 'sudo updatedb' and it is ok. Problem is that cron job as delivered by the package hangs.

  PID USER     PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+   UTIME+   STIME+  Command
 2599 root      15   0  1592   556   480 S  0.0  0.0  0:00.39  0:00.09  0:00.31  `- /usr/sbin/crond
13237 root      23   0  2568  1152   976 S  0.0  0.1  0:00.00  0:00.00  0:00.00  |   `- /bin/sh /usr/sbin/run-cron /etc/cron.daily
13240 root      24   0  2572  1124   944 S  0.0  0.1  0:00.00  0:00.00  0:00.00  |       `- /bin/sh /etc/cron.daily/rlocate
13241 root      25   0  1620   576   504 S  0.0  0.0  0:00.00  0:00.00  0:00.00  |           `- /usr/bin/updatedb

This happens always after daily cron job has been run. only kill -9 works to the problem and after that I have to rm the db files and create them again.

Would rlocate work if I dont use updatedb at all?

Lovely program, but it is a pain in the ass smile

Offline

Board footer

Powered by FluxBB