Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 23, 2013, 05:51:57 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Search only this topic
Advanced search
4images is now on facebook.
Click here
and become a fan!
Translate this page with
Google
From
Auto detect
Arabic
Bulgarian
Chinese Simplified
Chinese Traditional
Catalan
Croatian
Czech
Danish
Dutch
English
Filipino
Finnish
French
German
Greek
Hebrew
Hindi
Indonesian
Italian
Japanese
Korean
Latvian
Lithuanian
Norwegian
Polish
Portuguese
Romanian
Russian
Spanish
Serbian
Slovak
Slovenian
Swedish
Ukrainian
Vietnamese
=>
To
العربية
български
Catala
česky
Dansk
Deutsch
Ελληνικά
English
Espanol
Suomi
Francais
हिन्दी
Hrvatski
Indonesia
Italiano
עברית
日本語
한국어
Lietuvių
Latviešu
Nederlands
Norsk
Polski
Portugues
Romană
Русский
Slovenčina
Slovensčina
српски
Svenska
Filipino
українська
Tiếng Việt
中文 (简体)
中文 (繁體)
Translate this page
From
Auto detect
Arabic
Bulgarian
Chinese Simplified
Chinese Traditional
Catalan
Croatian
Czech
Danish
Dutch
English
Filipino
Finnish
French
German
Greek
Hebrew
Hindi
Indonesian
Italian
Japanese
Korean
Latvian
Lithuanian
Norwegian
Polish
Portuguese
Romanian
Russian
Spanish
Serbian
Slovak
Slovenian
Swedish
Ukrainian
Vietnamese
>
To
العربية
български
Catala
česky
Dansk
Deutsch
Ελληνικά
English
Espanol
Suomi
Francais
हिन्दी
Hrvatski
Indonesia
Italiano
עברית
日本語
한국어
Lietuvių
Latviešu
Nederlands
Norsk
Polski
Portugues
Romană
Русский
Slovenčina
Slovensčina
српски
Svenska
Filipino
українська
Tiếng Việt
中文 (简体)
中文 (繁體)
Google
Arabic
Croatian
Dutch
English
French
German
Serbian
Spanish
Turkish
4images Forum & Community
4images Issues / Ausgaben
Discussion & Troubleshooting
(Moderators:
Acidgod
,
ivan
,
Rembrandt
)
download.php issue
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: download.php issue (Read 851 times)
khansahib
Full Member
Offline
Posts: 100
Thank You
-Given: 14
-Receive: 1
download.php issue
«
on:
December 03, 2012, 07:34:51 PM »
Hello,
Today I was having some issue with my server, I contacted support believe me they are awesome people I mean they are very hard working and take the problems very seriously. Well my ticket related to problem was assigned to senior admin, after reviewing here is what he suggested.
****************
For the most part, I would go through your script and make sure it is not having issues serving files. Most people that do file downloads don't process the download via PHP to serve static content as long running downloads can take forever to process:
root@server [/home/user/public_html]# ps aux |grep download
user 14732 0.0 0.2 225172 18280 ? S 23:10 0:00 /usr/bin/php /home/user/public_html/apps/download.php
user 15164 0.0 0.2 225172 18280 ? S 23:11 0:00 /usr/bin/php /home/user/public_html/apps/download.php
user 15646 0.0 0.2 226456 19496 ? S 23:12 0:00 /usr/bin/php /home/user/public_html/apps/download.php
user 16213 0.0 0.2 225172 18152 ? S 23:14 0:00 /usr/bin/php /home/user/public_html/apps/download.php
user 16877 0.0 0.2 225532 18628 ? S 23:15 0:00 /usr/bin/php /home/user/public_html/themes/download.php
user 16960 0.0 0.1 218856 13304 ? S 23:15 0:00 /usr/bin/php /home/user/public_html/games/download.php
user 17606 0.0 0.1 218856 13320 ? S 23:16 0:00 /usr/bin/php /home/user/public_html/games/download.php
user 17664 0.1 0.2 225532 18616 ? S 23:17 0:00 /usr/bin/php /home/user/public_html/themes/download.php
root 17771 0.0 0.0 61192 768 pts/0 S+ 23:17 0:00 grep download
root@server [/home/user/public_html]# date
Mon Dec 3 23:17:24 PKT 2012
I am not sure what your site is letting them download through this script but they have been running for a long time (7min on the top process) so if they have a slow connection (like downloading them to their phone with bad reception/data) this could lead to long running PHP processes on your server. It is far better to let Apache serve static content rather than streaming it through PHP. This is something to take up with your developers.
*********************
Can anybody please help on this?
Logged
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
Offline
Posts: 17849
Thank You
-Given: 47
-Receive: 498
mmm PHP...
Re: download.php issue
«
Reply #1
on:
December 07, 2012, 03:59:16 AM »
You forgot to explain what is the problem...
Logged
Your first three "must do" before you ask a question:
Forum rules
FAQ
Error messages
Bug Fixes & Patches
Search
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer.
(
forum rule #6
)
Extension for Firefox/Thunderbird:
Master Password+
Back/Forward History Tweaks (restartless)
Cookies Manager+
Fit Images (restartless for Thunderbird)
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
4images Help / Hilfe
-----------------------------
=> FAQ, Tips
=> Error Messages / Fehlermeldungen
=> Bug Fixes & Patches
=> News & Announcements
-----------------------------
4images Issues / Ausgaben
-----------------------------
=> Feedback & Suggestions
=> Installation, Update & Configuration
=> Discussion & Troubleshooting
-----------------------------
4images Modifications / Modifikationen
-----------------------------
=> Mods & Plugins (Requests & Discussions)
=> Mods & Plugins (Releases & Support)
===> Plugins
===> Tutorials
=> Templates & Styles (Requests & Discussions)
=> Templates & Styles (Releases & Support)
=> Requests for paid modifications / Jobbörse
=> Language Packs
-----------------------------
International
-----------------------------
=> Arabic / قسم الدعم الفني
=> Bosnian/Croatian/Serbian & Slovenian
=> Español / Castellano
=> Français
=> Turkish / Türkçe
===> Modifikasyonlar
===> Eklentiler
===> Temalar
===> Görsel
-----------------------------
General / Allgemeines
-----------------------------
=> Programming
=> Chit Chat
Loading...