My Drupal 7.22 site is using Link Checker 7.x-1.1 with HTTPRL 7.x-11, with PHP 5.3 and Nginx (not Apache) in the mix.

The site has only 1179 links. However, LC is using a tremendous amount of memory (Memory usage: 14.98 MB, Peak memory usage: 15.15 MB).

Please advise.

Comments

hass’s picture

Status: Active » Fixed

???

This is EXTREMLY smart.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

webservant316’s picture

Issue summary: View changes

My linkchecker cron is failing with this message....

Memory usage: 26.37 MB, Peak memory usage: 26.45 MB.

What is the solution above? I see a question and I see fixed with no answer. ?

webservant316’s picture

Version: 7.x-1.1 » 7.x-1.2
Status: Closed (fixed) » Active
hass’s picture

Why do you think linkchecker is failing with this memory *info* message? This is just for Your information how smart linkchecker works. Great, isn't it?

If PHP is using ONLY 15 or 26MB that is *nothing*... Really nothing!

Enable views and a few modules and show a page in Drupal. This will be 36-128mb for each request.

hass’s picture

Status: Active » Fixed
webservant316’s picture

ok, thought so thanks. none-the-less I am getting an error that is breaking the linkchecker function...

An AJAX HTTP error occurred. HTTP Result Code: 503 Debugging information follows. Path: /batch?id=10091&op=do StatusText: Service Unavailable ResponseText: 503 Service Unavailable 503 Service Unavailable The server is temporarily busy, try again later! Proudly powered by LiteSpeed Web ServerPlease be advised that LiteSpeed Technologies Inc. is not a web hosting company and, as such, has no control over content found on this site.

I am using...

linkchecker 7.x-1.2
PHP 5.4.37
Litespeed 6.7

hass’s picture

Looks not related to this module.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

suman.abc’s picture

Can the drush commands - drush linkchecker-analyze and drush linkchecker-check be changed to use drupal batch api?
If we want to run the commands manually instead of cron, during the downtime, then for a content rich website these commands might take huge memory for single execution. So breaking the drush commands in batch will be the viable solution.

Update: Just checked the code. It is already there.