Author Topic: TCPDF overloading the server?  (Read 1777 times)

alexzien

  • Jr. Member
  • **
  • Posts: 88
TCPDF overloading the server?
« on: October 31, 2012, 13:02:29 pm »
It seems that TCPDF is overloading the server and therefor the host is closing down my website. TCPDF is caching alot of files. Right now it is about 200.000 files in the cache folder. All this have happened in five days(!). Why is it doing this? And how do I stop it from doing it?

The files have names like this: mskp_4acf25b98f7f3483e2055a8114e5f54d and this: mska_bfbbccea27c86a0de9447e24fd76e9ce.

I use Joomla 2.5.6 and VirtueMart 2.0.12f.

bytelord

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: TCPDF overloading the server?
« Reply #1 on: October 31, 2012, 23:09:53 pm »
hm, strange. TCPDF does not run with cron services, so may be spam you, did you check it?
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

iamalive

  • Jr. Member
  • **
  • Posts: 133
  • Life is good
    • Websites4U
Re: TCPDF overloading the server?
« Reply #2 on: November 10, 2012, 23:03:47 pm »
Hi
I have 2 client sites that have been turned off at various times recently for using too many ressources. The only thing both sites have in common is Joomla and virtuemart.

According to the hoster, because everything runs over index.php it's hard to identify the specific culprit, but it only occurs when virtuemart pages are called. One site has used up to 25% of all ressources available on the server, which is way to much for a single site.

What is interesting, on the one site I have the latest stuff: Joomla 2.5.7, Virtuemart 2.0.12; on the other it's Joomla 1.5.26 and Virtuemart 1.1.8. Both have php 5.3.18 and mysql 5.1.65-cll

This has only started to occur in the last few weeks. Possibly - but not currently confirmed - since the upgrade of the php version on the server.

Obviously this is a serious problem - customers don't like having their shops closed down.

Any ideas? I'm sure my hoster is happy to help if he can.

Regards

David
David Jakob
..stressfreie Webseiten von http://websites4u.ch...

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27794
  • Always on vacation
    • Jenkin Hill Internet
Re: TCPDF overloading the server?
« Reply #3 on: November 11, 2012, 00:10:15 am »
My guess is that the J1.5 is not too good with that PHP version. You may want to check the PHP error log files, maybe turning up the level of error reporting for a while.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.8.4.10335 on Joomla 3.9.19 PHP 7.3.18

iamalive

  • Jr. Member
  • **
  • Posts: 133
  • Life is good
    • Websites4U
Re: TCPDF overloading the server?
« Reply #4 on: November 11, 2012, 13:24:54 pm »
Well it may be. Interesting is that it's only the site using virtuemart. I have other sites withh Joomla 1.5 and PHP 5.3  as well as sites with Joomla 2.5 and PHP 5.3 with the same hoster and no problems there. Only these two which have Virtuemart in common, albeit different versions. I will however turn up the logging to see what can be seen.

Thanks for the input.

Regards
David
David Jakob
..stressfreie Webseiten von http://websites4u.ch...