Upgraded to the R118 recently and started running into problems.
1. update ports option is turned off, but, it insists on updating it anyway. Really slows down the server and install process as it seems to delete the index-5 file and then tries to rebuild it. If I do a fetchindex during the install it works better
2. Lost my 'Show Current CPU Usage'. It would display the header, but just not show any of the current running processes, similar to the linux problem. Tried doing a upcp --force and that didn't help. Put in a ticket and it went to level II, but, they said:
When I strace it I see:
First a bunch of:
[pid 74887] stat(\"/etc/nsswitch.conf\", 0xbfbff750) = -1 ENOENT (No such file or directory)
[pid 74887] stat(\"/etc/nsswitch.conf\", 0xbfbff750) = -1 ENOENT (No such file or directory)
[pid 74887] stat(\"/etc/nsswitch.conf\", 0xbfbff750) = -1 ENOENT (No such file or directory)
[pid 74887] stat(\"/etc/nsswitch.conf\", 0xbfbff750) = -1 ENOENT (No such file or directory)
[pid 74887] stat(\"/etc/nsswitch.conf\", 0xbfbff750) = -1 ENOENT (No such file or directory)
then it opens etc/spwd.db and seeks in it for a while and then opens it and seeks ... over and over and over...
So I attempted a upcp and it jusy hangs trygin to do the ports... (I had to control C each one so it would continue)
Its running very very slow and hasn't conpleted yet and its been hours. (I finally ended it by control-C-ing my way out.
I imagine that WHM->System Health->Show Current CPU Usage is timing out waiting for top to finish.
Likely this is due to a firewall issue or whatever is causing upc to run so slow.
I imagine it may have something to do with whatever is causing /etc/nsswitch.conf and /etc/spwd.db to loop when I strace
WHM->System Health->Show Current CPU Usage
It was running slowly as the index-5 file got deleted again and it was rebuilding it. I did the --force thing and it didn't change anything.
So, today I went to S14. Started updating the ports again and deleted the index-5 file and brought the server to a crawl. I did a fetchindex during the installation and that helped.
After the install, my "Show Current CPU Usage" returned to normal and everything else seems to work.
Anyone else with freeBSD experience this? I saw the thread where a lot of linux boxes lost their show cpu usage, but didn't see any BSD boxes.



LinkBack URL
About LinkBacks
Reply With Quote





