Jump to content

WHMCS Stops working (hangs) periodically


mjsauer

Recommended Posts

Every few days, WHMCS will just stop loading in the browser. I'll be working and then I will click on a link and pages just hang from then on out. Sometimes I have to literally re-start all of IIS - not just the individual site. This is on a dedicated server running IIS 6.0. The site runs under it's own Application Pool. I try to recycle the Application Pool as well as the site itself. That doesn't seem to work. Ultimately, it will finally start to work again if I restart IIS or reboot the server. All other sites work fine though when this is going on.

 

It almost seems like it is trying to go out to licensing server via CURL and it just times out. Is it possible that is happening?

Link to comment
Share on other sites

Because a recycle of the site and/or app pool does not fix the problem, I am thinking this is a PHP session issue. One thing I should point out is that if I try to login with a different browser or on another PC, I can get to the login screen. When I submit the login form, it just hangs forever. PHP problem, right?

Link to comment
Share on other sites

Once again, WHMCS hangs and the page just sits there "loading..." This is driving me nuts. Every couple days this is happening. I can get to other pages, just not anything under the admin folder. Pretty sure it is not a PHP issue because why then would other PHP pages work fine - in the same IIS web? I hope I can resolve this soon. I cannot just restart IIS in the middle of a day - which is the ONLY way to get the site to work again.

Link to comment
Share on other sites

Yes! That is the same situation - exactly. When I use Firefox (which is most of the time) - and also since the latest round of upgrades. It could also be a coincidence though with the Firefox upgrades to 3.5.x. I am seeing other off problems with Firefox now such as my custom Google page hanging for a really long time before it finally renders. All other browsers work perfect. Perhaps I should try only using Chrome or IE for a while with WHMCS and see what happens.

Link to comment
Share on other sites

I tried using Chrome at the time I had a FF problem, and chrome worked fine. I believe the issue happens only when trying to access the site via https (which happens with most of the links pointing into WHMCS). I've checked my SSL cert and all apache httpd.conf SSL parameters and certificates - everything ok there. Strange, I too am using FF 3.5.x and recently upgraded, although I never encountered this intermittent "hang" or timeout prior to 4.1.2 (I was running 3.8.2 before).

Link to comment
Share on other sites

  • 2 weeks later...

Some more information about this problem.

 

It just happened again tonight. What I do to resolve it - and this is the only way to resolve - is I have to restart IIS. When I do so, IIS just hangs for quite a long time as it tries to stop. That tells me some process is "hung up" and is not allowing IIS to stop cleanly. Normally, an IIS restart is fairly quick - just a few seconds. It takes at least 20-30 seconds for it to finally stop when I encounter this problem. IIS will then start back up really quick. At that point, I can refresh the admin page and everything is working again.

 

Other PHP-based sites continue to work when WHMCS stops working. I REALLY wish I knew what the heck was causing this problem. It is so annoying to have to re-start IIS to get it working again. And then I have to wait until evening to do so because I don't want to stop any other web sites during regular hours.

 

Anyone????

Link to comment
Share on other sites

Just happened AGAIN!!!! Just placed a test.php in the root with a phpinfo() in it. That comes up fine! So, that leaves only two - perhaps 3 other possibilities.

 

1. Curl failing to hit WHMCS licensing servers

2. Smarty is failing

3. Ioncube

 

My first choice now is Ioncube, with a failure to connect to WHMCS a close second. But, I am fairly quick to dismiss a license issue because if that was the case, wouldn't everyone be complaining???

 

So, let's assume - for now - that it is Ioncube acting up. I think I am running the latest version. Does anyone have any ideas about how to go about troubleshooting it?

 

Thanks.

Link to comment
Share on other sites

Just found some more info to add. The problem just happened again. I am noticing another common denominator. It always happens when I am in the admin and I click on the Home page link. At that point, the browser will just hang indefinitely as it says it is loading. When it does that, I know I have no choice but to cycle IIS server.

Link to comment
Share on other sites

All my clients run IIS sites and applications. PHP is supposed to run fine on all supported platforms. Plus, all other PHP-based sites and applications seem to run fine on our servers. So, the short answer is we only run Windows servers - at least for now. But, I could be open to adding a Linux server for apps like this that don't seem to be playing nicely with IIS. Of course, I would much rather understand what the problem is and then fix it.

Link to comment
Share on other sites

Not using Windows

 

Centos 4.5

 

Its hanging longer now...

 

It was only for about 10 15 seconds, but now I'm up to about 60 or more seconds before the admin main page loads.

 

When the page did load I clicked on the Check License code from the help tab and this is what I got after about 60 or so seconds of loading

 

License Noconnection

 

WHMCS has not been able to verify your license for the past 7 days or more.

 

Before you can access your WHMCS Admin Area again your license needs to be verified. Make sure you do not have a firewall blocking the connection to our server

 

If you need assistance, email licensing@whmcs.com.

 

Funny things about that statement is...

 

Make sure you do not have a firewall blocking the connection to our server

 

How in the word do we know what there license server is? I've never seen a URL or IP address...

 

So I think that may be my issue at least.

Link to comment
Share on other sites

Periodically, I will get a screen that forces me to re-issue my license key - just out of the blue. It happens about once a month or so. I have no idea why. My IP has not changed. The "page hang" does kind of make one wonder if it is CURL trying to post to some server/service. But, I cannot tell. I should setup a packet sniffer to see what it's doing. That might be my next step.

Link to comment
Share on other sites

  • 2 weeks later...

If it's any consolation to anyone, this exact same issue has been happening to me for the past 3 days. I don't think it's a browser issue (I've used Firefox, IE, Safari, Opera); it's not a PC issue (I've tried different computers); It's not an IP issue (Staff in other countries experience the same).

 

I run on a Centos5 VPS. I reboot, I power-cycle, hosting support help me, no luck!

 

Eventually, last night I bought a new VPS and this time chose UBUNTU. So far, no problem.

 

I'm now in the process of setting up everything again.

Link to comment
Share on other sites

I have the same problem on my server (Win2k3 x64 Virtuozzo VPS, Plek 9.2, IIS).

I have to reboot the server to be able to do anything again.

 

When WHMCS hangs, everything other on the server keeps working. So e-mail delivery etc keeps working. Also my main site keeps working. But accessing the /whmcs/ directory doesn't work.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated