php - Optimize Wordpress image upload, slow and only 1 at a time on Dedicated -
So I've gone for weeks with different configurations and I usually find out based on search But I am not lover with server configuration, so I should ask. Hopefully someone can tell me in the right direction
I have a dedicated server with 5 different WordPress installations, everything is speeding up in the case of site load speed and posting etc., Etc. When I start uploading images using Wordpress, the EXCEPT image upload is its slow speed ..
When I take pictures (size does not matter) It takes forever and this one at a time Processing v. When I was on shared hosting, the image upload was very fast. It is on my Wordpress installation with all the different themes and plugins, so I think it's a server configuration, somewhere .
The process times 99% for the first image sits for a few minutes, and then goes to the next; My administrators will also stall, so long as not all images are being uploaded, I can not do anything else on admin area. The site does not stall and is still functional if I go to a different browser which is not logged in as an admin.
If I go to my Process Manager, then I am running EnSink-upload.fpp and only taking 3% of the CPU and .6% of memory.
It always ends but it seems that I only have 1 connection or process permission (sorry, I do not know the correct words) and then I can make another request. Does anybody know whether the server configuration is missing me or is this the reason? I am on WHM / Cpanel with SHH access, I have tried some PHP, MySQL and Apache optimization but have not solved this problem, I'm definitely messing up in my configuration, any light Can you put it?
Close the end of its image upload operation, change the size of incoming images to make WordPress thumbnails and media Attempts to do this in size, it has to load uncompressed images in memory.
It can take a lot of RAM, try to increase the available RAM for your PHP example, look for this type of text in php.ini
; The maximum use of a script can be in memory; Http://php.net/memory-limit-memory_lit = 32M and extend it.
You may also have problems with these settings.
; Maximum allowed size for uploaded files. ; Http://php.net/upload-max-filesize-upload_max_filesize = 8m; Maximum request file can be uploaded through max_file_uploads = 20 Also, take a look at your php_error.log and apache_error.log See files and see if you can see any problems Also, if you are using Google Chrome, open the JavaScript console and see if an error is showing.
Comments
Post a Comment