Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

i am copying approx 300 10MB files from another server to my server. everything works just fine but i tried to run parallel thread so that i can complete it fast i got surprised as another file will only uploaded when first upload will free the route of upload.

i opened 5 pages in mozilla browser in new tab and all 5 tab has taken new file name from those 300 file name and i clicked on submit and it was showing submitted but the file will get uploaded only when one file completes and redirect to success page then the uploading of second file will start. i tried to increase the various settings in whm like max file upload size, in php configuration editor changed the size as well but nothing worked. then i changed the various settings in Pure-FTPD. as i am uploading files using php file upload i think pure ftp will be used and changed the configuration to this then also no success.

   Allow Anonymous Uploads              no

   Maximum Connections                 150

    Maximum Connections Per IP Address    20

any guide?? i tried changing several mysql parameters also but i am really not able to upload more tha

share|improve this question
    
What is your programming-related issue? What is whm? How is it related to PHP? –  Jocelyn Nov 15 '12 at 16:13
    
php file upload? if you're using php file uploads, then that's NOT ftp. you're probably running into locked session issues, causing each file upload to run serially, instead of in parallel. –  Marc B Nov 15 '12 at 16:13
    
Perhaps you could post some code? –  Sammitch Nov 15 '12 at 16:13
    
@MarcB i think you have pointed out correctly . how to sort out that issue if it is being locked –  wayenjoy Nov 15 '12 at 16:15
    
@Sammitch its simple file copy script in php –  wayenjoy Nov 15 '12 at 16:16
show 7 more comments

migrated from stackoverflow.com Nov 21 '12 at 1:18

This question came from our site for professional and enthusiast programmers.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.