Submitted by LoopZilla on Wed, 12/02/2015 - 04:08
The script /etc/webmin/status/monitor.pl runs via crontab.
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /etc/webmin/status/monitor.pl
I see this error
postfix::is_postfix_running failed : Failed to query Postfix config command to get the current value of parameter process_id_directory: at ../web-lib-funcs.pl line 1397.
For example, last night three times. But not since then.
23:10
23:25
23:30
LZ
Status:
Closed (fixed)
Comments
Submitted by LoopZilla on Wed, 12/02/2015 - 09:39 Comment #1
Not seen now for several hours.
LZ
Submitted by JamieCameron on Wed, 12/02/2015 - 15:24 Comment #2
How much RAM does your system have, and how much is free? The biggest cause of
postconf
failing that I've seen in the past is lack of RAM.Submitted by LoopZilla on Mon, 12/07/2015 - 12:31 Comment #3
free -m
total used free shared buffers cached
Mem: 1996 1823 172 567 16 656
-/+ buffers/cache: 1150 845
Swap: 0 0 0
As you can see, swap is disabled.
LZ
Submitted by JamieCameron on Mon, 12/07/2015 - 17:37 Comment #4
So, 2 GB of RAM with very little usage?
Submitted by LoopZilla on Wed, 12/09/2015 - 05:31 Comment #5
free -m
total used free shared buffers cached
1996 1875 120 236 100 551
At this point, I have 2G, with 1.8G in use and 120M free.
top(1) reports......
KiB Mem: 2044204 total, 1785148 used, 259056 free, 106864 buffersThe Virtualmin report is
Real memory 1.13 GB used, 1.95 GB total
LZ
Submitted by andreychek on Wed, 12/09/2015 - 09:41 Comment #6
Yeah, I suspect you're running out of RAM.
Would it be possible to disable services you don't need? That can free up RAM.
You can disable services you don't need in Webmin -> Services -> Bootup and Shutdown.
You can also try disabling Apache modules you don't need.
Submitted by LoopZilla on Mon, 12/21/2015 - 13:05 Comment #7
OK. This has helped for other cron jobs.
LZ
Submitted by LoopZilla on Sat, 12/26/2015 - 05:19 Comment #8