dedicated-server

How can I adjust the server to run my PHP script quicker?

倾然丶 夕夏残阳落幕 提交于 2020-01-17 16:41:22
问题 I have a PHP script which runs on a loop for x amount of times. The code is very minimal and performs checks. Some loops will run within 1 second of each other and it varies.. some loops will run with up to 8 seconds delay. How or what can I adjust/tweak on the server (or instruct the manager of my dedicated server) to reduce the time between loops to milliseconds (or as quick as possible) rather than 1 to 8 seconds? Thank you! PHP code <style type="text/css"> #check { font: Arial, Helvetica,

How can I adjust the server to run my PHP script quicker?

喜欢而已 提交于 2020-01-17 16:41:18
问题 I have a PHP script which runs on a loop for x amount of times. The code is very minimal and performs checks. Some loops will run within 1 second of each other and it varies.. some loops will run with up to 8 seconds delay. How or what can I adjust/tweak on the server (or instruct the manager of my dedicated server) to reduce the time between loops to milliseconds (or as quick as possible) rather than 1 to 8 seconds? Thank you! PHP code <style type="text/css"> #check { font: Arial, Helvetica,

MySQL Daemon issue

社会主义新天地 提交于 2019-12-25 00:26:19
问题 I seem to be having an issue with my MySQL Daemon and a World-writable config file being ignored :S Here's the output when I run mysqld as user mysql: bash-4.2$ mysqld Warning: World-writable config file '/etc/mysql/my.cnf' is ignored 120730 17:57:34 [Note] Plugin 'FEDERATED' is disabled. 120730 17:57:34 InnoDB: The InnoDB memory heap is disabled 120730 17:57:34 InnoDB: Mutexes and rw_locks use GCC atomic builtins 120730 17:57:34 InnoDB: Compressed tables use zlib 1.2.5 120730 17:57:34 InnoDB

Optimizing long polling on a dedicated server

扶醉桌前 提交于 2019-12-14 04:20:02
问题 Right now, I am hosting a site on a dedicated server, 8 GB ram, Intel Xeon E3 1230 V3. I am using long polling techniques in order to display information which gets added into a database consistently. The problem is: so far, after around let's say 20 users come onto the site, it starts lagging and slowing down dramatically. I'm pretty sure the server is strong enough to handle way more people than that. Thus, I am not sure what exactly is the problem. Can long polling using Apache handle that

Amazon-RDS database to Dedicated server

自闭症网瘾萝莉.ら 提交于 2019-12-13 05:27:52
问题 I went through this answer here: Mysqldump of the AWS RDS But, apparently, it gave me no clue. What I intend to do? I have an RDS instance running on amazon and database is about 450+ tables, which is an insane amount of data for mysqldump. I wish to have it dumped so that I can migrate it from AwS to Dedicated. What is the problem? It freezes once I start taking the dump via adminer. Snapshot gives a format which can be used from one region to another but, I wish to have it in say.. SQL

Run two different Rails application on one dedicated server

半城伤御伤魂 提交于 2019-12-03 03:54:42
问题 I have one dedicated server with below configurations i3 - Dual Core - 3.06Ghz H/T 16GB RAM 500GB SATA2 Now I want to execute two different Rails application on one dedicated server. A both application are different but they are using common database. Is it possible to do that? If yes – How can I do that? Is Phusion Passenger with Apache a good approach? If yes - How can I configure two application with one Phusion Passenger server? 回答1: I will describe how I run multiple Rails applications

Run two different Rails application on one dedicated server

痞子三分冷 提交于 2019-12-02 18:11:32
I have one dedicated server with below configurations i3 - Dual Core - 3.06Ghz H/T 16GB RAM 500GB SATA2 Now I want to execute two different Rails application on one dedicated server. A both application are different but they are using common database. Is it possible to do that? If yes – How can I do that? Is Phusion Passenger with Apache a good approach? If yes - How can I configure two application with one Phusion Passenger server? I will describe how I run multiple Rails applications on one Linux server, using Apache, Phusion Passenger, and some version of Ruby. You have many choices, but

Magento Admin 404

泪湿孤枕 提交于 2019-11-30 13:56:10
问题 We recently migrated our Multi-domain magento setup from a shared host to a dedicated server. All is working fine fronted, but when I try to go to the admin section I get a 404 error on anything after login. It seems to work if I remove index.php from the url but then as soon as I click on another link in the admin section it 404's again with the index.php back in the URL. 回答1: -- You need to go your server directly and do this via SSH/ FTP You have to delete the following file app/etc/use

Magento Admin 404

别等时光非礼了梦想. 提交于 2019-11-30 08:52:00
We recently migrated our Multi-domain magento setup from a shared host to a dedicated server. All is working fine fronted, but when I try to go to the admin section I get a 404 error on anything after login. It seems to work if I remove index.php from the url but then as soon as I click on another link in the admin section it 404's again with the index.php back in the URL. -- You need to go your server directly and do this via SSH/ FTP You have to delete the following file app/etc/use_cache.ser If you get an error after that like Notice: Undefined index: 0 in /srv/www/vhosts/javra.com/htdocs