Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Excessive memory use on CLI import utility



Threaded Mode | Print  

 Excessive memory use on CLI import utility (2 Replies, Read 4007 times)
easyint
Group: NOC
Post Group: Newbie
Posts: 2
Status:
Hi folks,

I'm trying to import script installations from Fantastico using the CLI import utility at /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/import.cmd.php but it's dying after processing only 10 users or so.

It appears to be memory based as if I increase the memory limit it's able to process more users - a 400MB limit allowed an import of 19 accounts.

There are a few thousand users to import on this machine so it's not going to be possible to import them with the memory usage as it is.

I have also tried the Import feature on the WHM side but it's too slow for the number of users we have - I'd like to leave the CLI script running in screen and come back to it later.

If I run strace on the CLI script I can see that, for each user it processes, it's causing an lstat64() on all files in /var/cpanel/users - perhaps the results of this are being cached or just leaked?

Is there a way to run import.cmd.php and import one user at a time? We can cope with the high memory usage for each iteration and just run it in a loop.

Thanks
Tom
IP: --   

Excessive memory use on CLI import utility
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5667
Status:
Hi,

There is a patch for this in the next release of Softaculous i.e. 4.0.6 which is due this week.
If you want we can apply the patch for you, just open a support ticket with the root details of your server.
http://softaculous.net/support

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

Excessive memory use on CLI import utility
easyint
Group: NOC
Post Group: Newbie
Posts: 2
Status:
Thanks, I will wait for 4.0.6 to come out.

Tom
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 30, 2024, 2:33 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.025