Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Cron job is timing out!

11 years 1 month ago
  • Adam's Avatar
    Topic Author
  • Adam
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 2
Licenses:
JomSocial Active

ISSUE SUMMARY:

I was trying to figure out why the new images added by users weren't being uploaded to S3. When I checked the cron logs, I see they all have the same message:

Operation timed out after 600471 milliseconds with 0 out of -1 bytes received (28)

I tried running it manually through the browser bar and got the same (503) message. Don't know where to go from here as far as solutions go...

Thanks,

Adam

PS: I tried it on my test site and it does the same thing.


STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER

11 years 1 month ago
Licenses:

Hi Adam

503 mean, exhaustion at server site (out of resources). you must figure it out this issue with your server support.

Regards

11 years 1 month ago
  • Adam's Avatar
    Topic Author
  • Adam
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 2
Licenses:
JomSocial Active

The server resources are exhausted because the cron job is timing out at over 60 secs. How can I find out what action is the cause of the holdup? It's not a server issue as I am having the same thing happening on my test site which is hosted on another server with the same identical issue.

My logs from yesterday show the cron task was still going after 6 minutes before it finally timed out... what could be some of the reasons it would do this? Too many messages built up? s3?

Adam

11 years 1 month ago
Licenses:

Hi Adam,

seem that because S3 transferring process. could you please increased php configuration:
memory_limit to 1024
max_execution_time to 3000

if the issue still persist, please edit your first post at this topic. and put FTP access detail at site info form.

Regards

11 years 1 month ago
  • Adam's Avatar
    Topic Author
  • Adam
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 2
Licenses:
JomSocial Active

what is the php command line to call that page in Cpanel cron? Your instructions only showed how to call it via outside url but not as efficient as command line....

11 years 1 month ago
Licenses:

Hi Adam,

do you mean command line for php configuration?
that no need. you only need to asking your server support about how to increasing that php configuration.

Regards

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW