Page 1 of 1

POP3 Fetch

Posted: Wed Jul 16, 2014 7:37 am
by ruffmeister
Script URL:
Version of script: 2.5.3
Hosting company: godaddy
URL of phpinfo.php: 5.4.24
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

Hi there

Since the last couple of weeks i have a slight issue with pop3 fetching via manual or chron job. if there are no emails to be fetched the job runs fine and if you run manually get the normal blank webpage. if there is an email - any email the web page hangs and causes the webserver to have 100% cpu resources taken up.

Nothing has changed with hesk or the webserver to my knowledge - any help?

The POP3 account is correct and works on a test

php version - 5.4.24

Re: POP3 Fetch

Posted: Wed Jul 16, 2014 2:45 pm
by Klemen
If there is an email, you turn "Debug mode: ON" in HESK settings and manually run POP3 fetching via browser, what does the output say?

Re: POP3 Fetch

Posted: Thu Jul 17, 2014 7:53 am
by ruffmeister
debug turned on

1 email dropped into the mailbox

ran manually and the page just hangs and never completes

i log into our webserver and it then has 100% cpu usage.

Remove the email - run it manually and it finishes straight away and cpu is back to 1%

Re: POP3 Fetch

Posted: Fri Jul 18, 2014 2:14 pm
by Klemen
Do you know your way around PHP files?

If I were you I would try pinpointing what piece of code is causing the server to hang by stopping code execution in steps until it hangs.

What I mean is: place something like

Code: Select all

die('Line 90 works');
in the hesk_pop3.php file in line 90, run manually and see if you can see the "Line 90 works" message. If you see the message, everything before line 90 is not causing problems.

Then move the die('...') code down and try again and again... when the script hangs you will know which line is causing the problem (probably somewhere between 90 and 125).

Re: POP3 Fetch

Posted: Sat Feb 21, 2015 3:30 pm
by James Gunver
I have the same problem. All defined setup is there. pop3 account is coming back as tested successfully, all executable permissions were granted to hesk_pop3.php and hesk_pipe.php. But none of the emails that posted to related email address is creating tickets?

This is the only show stopper for me to present solution to production. i need some healp on how to resolve this issue with "godaddy" hosting.

Re: POP3 Fetch

Posted: Sat Feb 21, 2015 4:09 pm
by Klemen
Did you setup a cron job as instructed in the docs?
http://www.hesk.com/knowledgebase/index.php?article=65