I have just installed OMV 3 from fresh to my computer. But after login the WebUI I found that CPU was always running 100%. I enabled SSH and used 'top' command to see what is the problem. I found that php5 is the problem. Pls see the attach photo. How can I do in this case? Thanks
High CPU usage because of php5
-
- OMV 3.x
- nguyenhoangonline
-
-
Can not confirm this on various systems. Seems to be specific to your system. Any more information what can cause this?
-
I turn off php service. Everything looks ok. Can I update to php 7 in openmediavault? How can I do if it can?
-
Can I update to php 7 in openmediavault? How can I do if it can?
Nope. This will break php5-pam.
-
If you turn off PHP, then OMV will not work anymore.
I turn off php service. Everything looks ok. Can I update to php 7 in openmediavault? How can I do if it can?
What do you think this will improve this? Why do you think PHP7 will fix your issue?
Are you a windows user? This will explain you thinking -
after checking a keyword "php5 cpu usage" on google, I found that many cases happened like me. I would like to recommend to include php7 in OMV because of its performance. Thank you for your help
-
If you turn off PHP, then OMV will not work anymore.
What do you think this will improve this? Why do you think PHP7 will fix your issue?Are you a windows user? This will explain you thinking
Yes I am a Windows user. I think just give php7 a try. I saw many benchmark test for php. It says that php7 is better than php5. Is it wrong?
-
I have used OMV on php7 (not an easy hack) and it really isn't that much faster. Not worth the trouble of getting php7 on OMV.
-
Yes I am a Windows user. I think just give php7 a try. I saw many benchmark test for php. It says that php7 is better than php5. Is it wrong?
PHP5 is productive for years now, PHP7 is really new.
-
Zitat von votdev
PHP5 is productive for years now, PHP7 is really new.
Understand that but i just wonder why we don't include it in the testing version.
Zitat von _DD_According to your own post here you're running your NAS on a HP NC6400 laptop. As stated in that thread, bad idea from the start. But that particular model has a release date on May 2006.
Hate to break it to you but your old outdated hardware is the issue. No amount of software changes will live up to your performance expectations of a 8/9/10 year old laptop running as a NAS.
First, I read to wiki here before installation, my old laptop can meet the requirements.
Second, I want to experience OMV and play around with Linux before building my own NAS. I think it is not a bad idea to start it with my old and unused laptop.
Finally, I installed OMV2 on that laptop, it has no problem to running it before comming to OMV3 -
PHP7 is not included because it is not in Debian Jessie which is the core of OMV. Second, PHP7 is surely not as stable as PHP5. And for you it does absolutely have not benefits. The performance issue is surely not countable for a little webui like it is in OMV, instead it will be countable if you use it on a server with 10000 thousands and more hits a day.
-
I will try OMV 32bit version. If the same thing be happened I will came back OMV2. Thank you
Sent from my SHV-E210L using Tapatalk
-
I encountered high cpu usage on php5fpm
php5 was not problem, but wrong code in plugin made php5fpm running 100% cpu usage
I recommend to remove recently installed plugin
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!