Server lockups - dbindex / updateuserdomains

compunet2

Well-Known Member
Feb 21, 2003
309
0
166
My server is locking up just about every hour since this morning (runs out of RAM, CPU shoots up). When I was able to capture a top, I noticed a huge amount of theses processes:

/scripts/updateuserdomains
/usr/local/cpanel/bin/dbindex

How do I fix this?
 

compunet2

Well-Known Member
Feb 21, 2003
309
0
166
Well, here's what I did... not sure if its a good fix or not, but so far I've been up for two hours which is longer than at any point since 5am.

crontab -e
remove the line for /usr/local/cpanel/bin/dbindex

Then changed my update config to stable version of cPanel (from current) and ran /scripts/upcp --force

Like I said, I'm keeping my fingers crossed but things haven't been going nuts since. I would like to know what dbindex does because it only seems to be on this server (I have others that aren't set to autoupdate cPanel that don't have it). So I'm guessing its something new they added in current?
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
Please make sure your version of dbindex was successfully updated. If you are running 11.28 RELEASE, you can use the following command to ensure you have the latest one.

Code:
wget -O /usr/local/cpanel/bin/dbindex http://httpupdate.cpanel.net/cpanelsync/RELEASE/bin/dbindex
 

compunet2

Well-Known Member
Feb 21, 2003
309
0
166
Please make sure your version of dbindex was successfully updated. If you are running 11.28 RELEASE, you can use the following command to ensure you have the latest one.

Code:
wget -O /usr/local/cpanel/bin/dbindex http://httpupdate.cpanel.net/cpanelsync/RELEASE/bin/dbindex

Nick,

I'm running Stable 11.26.20 now. What is dbindex? Should the cron for it be put back in?
 

RCraft

Well-Known Member
Nov 7, 2010
52
0
56
We experienced this on 5 servers this morning and had to downgrade all of them. I contacted CPanel and here's what they recommended to fix it for the time being until the next update is released with the fix:

mv /usr/local/cpanel/bin/dbindex /usr/local/cpanel/bin/dbindex.disabled


Or simply do crontab -e and delete the cronjob for dbindex.

It's a definite bug and it's crashing a lot of servers. Caused one helluva Friday morning for us.
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
We experienced this on 5 servers this morning and had to downgrade all of them. I contacted CPanel and here's what they recommended to fix it for the time being until the next update is released with the fix:

mv /usr/local/cpanel/bin/dbindex /usr/local/cpanel/bin/dbindex.disabled
This happens when:

1) dbindex DOES NOT get updated to 11.28.33 version
2) updateuserdomains DOES get updated to 11.28.33 version
3) you have missing entries in /etc/dbowners.

The command I posted above to manually update dbindex to the 11.28.33 version and will resolve the problem without the need to disable it.
 

RCraft

Well-Known Member
Nov 7, 2010
52
0
56
This happens when dbindex DOES NOT get updated and updateuserdomains DOES. The command I posted above to manually update dbindex will resolve the problem without the need to disable it.
Well, your information conflicts with the answers I received in ticket # 1019930. They even sent me an additional update a little while ago telling me to move that directory.
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
Well, your information conflicts with the answers I received in ticket # 1019930. They even sent me an additional update a little while ago telling me to move that directory.
RCraft,

I do apologize, however the information I posted above is the most current. While we were investigating this problem, we were asking people to disable it. The root cause has now been determined, and this is no longer the case.

Thanks
 

RCraft

Well-Known Member
Nov 7, 2010
52
0
56
RCraft,

I do apologize, however the information I posted above is the most current. While we were investigating this problem, we were asking people to disable it. The root cause has now been determined, and this is no longer the case.

Thanks
Thanks. I'm just going to wait for 11.28 to go to stable.