Welcome, Guest
Please Login or Register.
Lost Password?
Re:Cron collectinfo messages (1 viewing)
Post Reply

TOPIC: Re:Cron collectinfo messages

#7449
thetitan (User)
Posts: 48
graphgraph
Cron collectinfo messages 2007/09/20 06:02  
I receive this messages in my root mailbox:

It happens in batches. I would receive the same message every few seconds for a minute or two. Then again in 5 or 6 minutes latter.

Subject: Cron <root@vds01> /etc/webmin/virtual-server/collectinfo.pl
Message body: Already running

I was getting those when I upgraded Virtualmin from 3.43 to 3.44. Then they stopped when I upgraded from 3.44 to 3.45. Now they started again, after I upgraded from 3.45 to 3.46.

Joe, what can I do to stop this?
  The administrator has disabled public write access.
#7498
ah...lifes...good (User)
Posts: 260
graphgraph
Re:Cron collectinfo messages 2007/09/22 09:23  
Hi thetitan,

I've checked my root mailbox but couldn't find the automatically-generated email that you quoted.

I am using:
Webmin version 1.360
Virtualmin version 3.46 (Pro)

I only get this instead:
Cron <root@www> run-parts /etc/cron.daily



Anyway, this thread may be useful to you:
http://www.virtualmin.com/forums/webmin/scheduled-cron-job-%11-how-to-disable-email-to-root.html
  The administrator has disabled public write access.
#7503
thetitan (User)
Posts: 48
graphgraph
Re:Cron collectinfo messages 2007/09/22 19:12  
ah...lifes...good thank you for your suggestion, but I prefer to fix the problem. Because your solution will only hide the problem. The server memory, CPU and performance will continue to be affected.

Joe, any ideas how to solve this?
  The administrator has disabled public write access.
#7504
ah...lifes...good (User)
Posts: 260
graphgraph
Re:Cron collectinfo messages 2007/09/23 01:33  
Hi thetitan,

Might be best if you submit a support ticket via "Bugs and Issues" link at the bottom the page.

If it looks like a bug or a systemic issue, Jamie and Joe should know about it via the proper channel (i.e. bug tracker).
  The administrator has disabled public write access.
#7508
Joe (Admin)
Posts: 4082
graph
Re:Cron collectinfo messages 2007/09/23 09:01  
I dunno. I see it on our Virtualmin.com server only during weekly and sometimes nightly backups (which puts the server under pretty extreme load). If it's happening during your system backups, it's probably harmless...if not, it's probably worth figuring out what is triggering the load.
  The administrator has disabled public write access.
#7712
thetitan (User)
Posts: 48
graphgraph
Re:Cron collectinfo messages 2007/10/03 12:27  
I have switched servers. The last one was a VM on VZ, which by the way is a terrible system. It simply does NOT like Webmin and MySQL. Few days ago a rented a dedicated server and yesterday I finished configuring it. So far I have not received any collectinfo messages. I hope that being a dedicated server there won't be any more issues like this.
  The administrator has disabled public write access.
#13210
kato (User)
Posts: 120
graphgraph
Re:Cron collectinfo messages 2008/05/30 19:17  
I'm seeing the same issue on CentOS 4.6 with Virtualmin 3.57.

I just recently turned on the root account to do some debugging and noticed these flying in every five minutes.

I looked for the process and found this:
<code>root 19791 19789 0 Apr19 ? 00:00:01 [collectinfo.pl] <defunct></code>

(It's been running since April 19th?)

I tried to kill it without success. Kill -9 can't even get rid of it.
Operating system CentOS Linux 4.6
Webmin version 1.420
Virtualmin version 3.60 (Pro)
Kernel and CPU Linux 2.6.9-67.0.22.ELsmp on i686
  The administrator has disabled public write access.
#13213
Joe (Admin)
Posts: 4082
graph
Re:Cron collectinfo messages 2008/05/30 21:52  
The last one was a VM on VZ, which by the way is a terrible system. It simply does NOT like Webmin and MySQL.

Yes, Virtuozzo/OpenVZ is known to have one or more serious memory allocation issues. I don't know if it is limited to "oversold" systems, or if it is just endemic in the system. We have not seen the memory allocation problems on our vservers test systems, though (VZ is a fork of vservers).
  The administrator has disabled public write access.
#13214
Joe (Admin)
Posts: 4082
graph
Re:Cron collectinfo messages 2008/05/30 21:57  
I looked for the process and found this:
<code>root 19791 19789 0 Apr19 ? 00:00:01 [collectinfo.pl] <defunct></code>

(It's been running since April 19th?)

I tried to kill it without success. Kill -9 can't even get rid of it.


collectinfo is a somewhat heavy process, but it shouldn't stick around forever (on our boxes it runs for about 10-20 seconds every five minutes).

I'm surprised that a kill -9 won't take it out. That seems like a kernel bug, as kill -9 should kill anything.

You could attach strace to that process to see what it's trying to do.

strace -p PID

Where PID should be replaced by the PID of the process. I don't know that it'll give you any useful information, but might.

There aren't currently any known issues with collectinfo, and haven't been for a while, I don't think. (But, as I mentioned, it is pretty heavy, and it touches a LOT of subsystems every time it runs, as it's gathering data from dozens of places, so it's possible that there's a flaw on some systems.)
  The administrator has disabled public write access.
#13241
sgrayban (User)
Posts: 589
graphgraph
Re:Cron collectinfo messages 2008/05/31 17:23  
It happens when its collecting the info for packages installed and the repo's are busy or slow and apt, yum or urpmi are stuck at partial downloads.

I have debugged this in the past.
Scott Grayban
BORGNET dot US Internet Hosting
VM Pro Reseller
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.