[solved] Problem with uploading large files =/

Discussion in 'Install/Configuration' started by Mr_Parham, Apr 24, 2012.

  1. Mr_Parham

    Mr_Parham Member

    Hi

    i recently installed a new script on my server, it's called xfilesharing, not he problem i have is that when i try to remote url upload a file which means uploading a file from another url it get stuck if the file is large
    here is an screenshot of this example
    http://www.shareyourimage.com/images/TikwB.png
    after contacting the xfilesharing support they said it's a problem with litespeed, i have tested with apache and it work perfectly fine, anyone have any idea what might my problem be ??

    Thanks
    Parham
    Last edited by a moderator: Jun 30, 2012
  2. NiteWave

    NiteWave Administrator

    what's the value of "Connection Timeout (secs)"?
    lsws admin console->Server->Tuning->Connection Timeout (secs)

    increase it, see if solve it.
  3. Mr_Parham

    Mr_Parham Member

    it was 45, i doubled it (90) but it still get stuck (This time on 52%) =/
  4. webizen

    webizen New Member

    may have to do with your /tmp partition size (not large enough). pls check:

    df -h /tmp
  5. Mr_Parham

    Mr_Parham Member

    root@srv1 [~]# df -h /tmp
    Filesystem Size Used Avail Use% Mounted on
    /usr/tmpDSK 4.0G 366M 3.4G 10% /tmp
    root@srv1 [~]#
  6. webizen

    webizen New Member

  7. Mr_Parham

    Mr_Parham Member

    -PHP memory limit in php.ini
    where can i find that ??
    -memory limit (soft/hard) in LSPHP5 external app
    didnt work
    -max request body size
    didnt work
  8. Mr_Parham

    Mr_Parham Member

    doesnt anyone know how to solve this issue, i tried hiring people as well but it seems like it's some complicated settings that i would need to change
  9. Mr_Parham

    Mr_Parham Member

    Just another thing i remembered, if i use any other link even if they are direct links they would get stuck about 2GB so it's not just when i upload from a specific host, it's all of the websites
  10. webizen

    webizen New Member

    1. find the php.ini in use
    2. grep memory_limit /path/to/php.ini
  11. Mr_Parham

    Mr_Parham Member

    Tried increasing it from 256 to up to 10240 but still get stuck
  12. Mr_Parham

    Mr_Parham Member

    doesnt anyone can help me with this, i emailed the bug reporting department as well but no one replied, i think i should just forget about using this web server
  13. webizen

    webizen New Member

    pm the server temporary access for us to further look at. xfilesharing is perl package. so all the php settings don't apply.
  14. Mr_Parham

    Mr_Parham Member

    I'm not sure if you did something or was it me, but i increased the /tmp and it seems to be working fine now :)
  15. webizen

    webizen New Member

    it is you. did not yet checked.
  16. NiteWave

    NiteWave Administrator

Share This Page