Apache auto off???

joymax27104000

New Member
YetiShare User
Jun 4, 2014
131
0
0
Hi,
This is my servers:


I don't know why every 1 hours I must restart apache for:
194
195
196

They will auto offline, I must restart apache if I want them online again.
Please help me.
Thanks a lot,
Nguyen TD
 

sukhman21

Member
YetiShare User
YetiShare Supporter
Jan 26, 2015
508
3
18
the first thing you would do is check the log files, see if you find anything there ??
 

joymax27104000

New Member
YetiShare User
Jun 4, 2014
131
0
0
sukhman21 said:
the first thing you would do is check the log files, see if you find anything there ??
Hi sukhman21,

Now, I don't accept free member can download anymore (and it's okay, apache don't auto off anymore):



Need I upgrade my memory ram?
Thanks for helping.
 

sukhman21

Member
YetiShare User
YetiShare Supporter
Jan 26, 2015
508
3
18
i think it should be okay as long as you are using xsendfile but you really gotta watch the number of concurrent downloads per server to get a better idea if 4GB RAM is enough or not. if you are using most of it always, then yes add more RAM.
You could also try tweaking your apache itself on the fileserver and disable any un-needed process, that should optimize it as well, i guess try this before adding more memory.
 

joymax27104000

New Member
YetiShare User
Jun 4, 2014
131
0
0
sukhman21 said:
i think it should be okay as long as you are using xsendfile but you really gotta watch the number of concurrent downloads per server to get a better idea if 4GB RAM is enough or not. if you are using most of it always, then yes add more RAM.
You could also try tweaking your apache itself on the fileserver and disable any un-needed process, that should optimize it as well, i guess try this before adding more memory.
Thank you very much.
I wil try it.
Nice day!
 

joymax27104000

New Member
YetiShare User
Jun 4, 2014
131
0
0
Hi,
I'm using Sentora, I really don't know how can enable xsendfile, can you help me?
This tut is not working for sentora: https://support.mfscripts.com/public/kb_view/1/
Thanks a lot.

I don't know why I have more 4GB (Ram), my storage is: 100GB (HDD:2TB), ~2 download at same time, but my apache always auto off??
It's really bad for me.
Do you think about Port 80 Problems? If yes, how can I fix it?
 

sukhman21

Member
YetiShare User
YetiShare Supporter
Jan 26, 2015
508
3
18
make sure you have EPEL repo and then use this command to install xsendfile
yum install mod_xsendfile

and next thing is to edit your host.conf file and enter this line in it
XSendFilePath /home/****/public_html/

Lastly check to make sure these lines are in your htaccess file

<IfModule mod_xsendfile.c>
<Files *.php>
XSendFile On
SetEnv MOD_X_SENDFILE_ENABLED 1
</Files>
</IfModule>


You are all set.
 

sukhman21

Member
YetiShare User
YetiShare Supporter
Jan 26, 2015
508
3
18
oh and i forgot, after installation, make sure you restart your apache.
 

joymax27104000

New Member
YetiShare User
Jun 4, 2014
131
0
0
Dear Sukhman21,

Thank you so much, I will try it.
Need I do it for all my servers (main server + fileservers)?

Thanks again.
 

sukhman21

Member
YetiShare User
YetiShare Supporter
Jan 26, 2015
508
3
18
i dont think this feature is available in the script, however i am sure you can limit the characters in the username text field itself... Check in the register.html file...
 

joymax27104000

New Member
YetiShare User
Jun 4, 2014
131
0
0
sukhman21 said:
i dont think this feature is available in the script, however i am sure you can limit the characters in the username text field itself... Check in the register.html file...
I think you will want move this reply to: http://forum.mfscripts.com/viewtopic.php?f=20&t=2212
:mrgreen: