If you like DNray Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

Slow loading speeds on VPS

Started by charli19, Jun 27, 2023, 12:01 AM

Previous topic - Next topic

charli19Topic starter

After switching to VPS, the sites experienced a slowdown. The user was unsure of how to identify the source of the issue, and reached out to tech support for assistance. The support team explained that several factors could contribute to slow loading speeds, including high traffic, slow operation of site scripts, and database queries. However, due to the large number of sites on the server, it was difficult to determine which site was causing the issue.

To further investigate, the user used the iotop utility and identified a process that was consuming a significant amount of disk write. Despite being unfamiliar with this issue, the user sought to address it and track the source of the load.
  •  


Teeproria

Regular hosting generally offers more robust hardware resources than VPS hosting, as the latter typically strips down available resources at the time of a request. If I were to try to implement nginx for static content, it is unlikely that I would be able to do so on a VPS. Do you by any chance offer regular hosting in addition to VPS hosting options?
  •  

jessepeterson

To keep track of slow queries in MySQL, it's important to use the explainer tool to analyze which indexes are being utilized. It's possible that other indexes may be used in the dump, so monitoring this is crucial.

If your records are very active, consider exploring batch insertion and partitioning as potential solutions. Partitioning, in particular, becomes increasingly beneficial when dealing with tables containing at least 1 billion records.
  •  

greenNonstick

If you want to run a VPS, you'll need to handle tasks like hiring an admin and configuring MySQL yourself. The issue is that the hosting company has already optimized the system settings for you.

It's important to note that managing a VPS can be quite challenging, since you're responsible for many tasks that would otherwise be taken care of by the hosting service. However, if you need help with your server, feel free to contact me and I'll see what I can do.
  •  

Vidil

The user's decision to reach out to tech support was a wise move, as slow loading speeds can be attributed to various factors. High traffic, inefficient site scripts, and database queries are common culprits. However, when multiple sites are hosted on the same server, isolating the specific site causing the issue becomes complex.

Using the iotop utility to identify a process with significant disk write consumption was a step in the right direction. This process could be indicative of a poorly optimized script, excessive database writes, or even malicious activity. The user's proactive approach in seeking to address this issue and track down the root cause is commendable.

To further resolve the problem, the user should delve into the identified process, examining its behavior and associated files. This may involve analyzing the code for inefficiencies, checking database queries for optimization opportunities, and investigating for any signs of unauthorized access or attacks.
Tackling performance slowdowns on a VPS demands a meticulous approach. By thoroughly investigating the processes and resource usage, the user can successfully identify and mitigate the underlying issues, ultimately optimizing the performance of their websites on the VPS.
  •  

Arkanello

With the right web hosting provider, your business web site can be much easier than you think. There are so many web based design tools and marketing tools included in web hosting packages, that you really don't need to know much about html, programming, or otherwise.

Can also recommend you to try Neironvps.com ssd vps (from $5.95/mo) - the speed and uptime have been fantastic.
The price is very cheap and setup very quick, the control panel is different but houses loads of features and after a while is really easy to use.
  •  

rallyndald7

I'd suggest correlating that process ID to a site using ps -ef or lsof -p.
If it's a DB issue, dive into MySQL's slow query log to ID the sluggish query. Multi-site setups can be a pain, but tools like htop can help pinpoint the resource muncher. Traffic spikes might be throttling your bandwidth - check with nload or iftop. Also, consider optimizing scripts or slapping on some caching to ease the load.
  •  


Ocean Tattoos

Slow VPS speeds can be caused by limited server resources, poor optimization, high traffic, or distant server locations. Check CPU/RAM usage, enable caching, optimize your site and database, and consider upgrading your VPS plan or using a CDN.
  •  

m2host

Enjoy the best and affordable web hosting service with M2Host. VPS hosting plan includes servcies like choice of control panel, Dedicated Resources, Full Admin/Root Access, Install 3rd Party Softwares etc at just $9.99/mo. For more information please visit our website.
  •  

Avocado

I've been checking out VPS options and hostpro.com caught my attention with their daily backups and 30-day retention.
It's pretty reassuring to know I can restore either a single file or the entire server image.
Their servers in Tampa, Amsterdam, and Warsaw also help with loading speed depending on where your audience is.
They offer multiple control panels, which makes it easier to manage without messing with the command line.
  •  


If you like DNray forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...