The loading speed of the site for me is slow

Nathan Jonathan Posted in Performance and Scalability 7 years ago

Hey, I'm using the github version but it's taking like a minute or two for the website and admin to load, Is this normal?

It's Running on a dedicated server with a 1Gbps and 16 GB ram

Replies
German Michael Zülsdorff Replied 7 years ago

I'm getting something around 4 seconds here from Germany - so your OSSN installation is definitely not the problem.

Maybe some of your community members do have local issues or their route to your machine may be extraordinary long.

Ask them to run a tracert (from WINDOWS) or traceroute (from UNIX) command from their shell to find out abnormal delays.

Indonesian Arsalan Shah Replied 7 years ago

For me your website take 3.2 seconds to load.

gb Nathan Jonathan Replied 7 years ago

Hey,
Sorry, I didn't want this post to turn out like this, It was meant to be a quick question just to see if it was my end but if multiple people are having this problem. my site URL is http://192.111.153.154/. if you need anything like FTP or any sort off access let me know and ill sort it for u
Sorry it's an IP one it's due to this site not being for everyone eyes but I guess it will be now xD

Sorry for being a problem

German Michael Zülsdorff Replied 7 years ago

Well,
I don't want to discourage anybody from posting his experiences here, but this kind of "my site is extremely slow/not so slow" talk doesn't really help to track down your problems.

As I said in my first comment: Tell us the URL of your sites - so we can have a look, or provide at least a screenshot from your browser's developer console. I just did that for 3 of my sites, which are hosted by 3 different providers (all shared hosting)

  1. hostmds.com - fairly fast, but unreliable uptimes
  2. fastcomet.net - very complete dev environment, speed differs
  3. greensta.de - not that flexible, but no problems within almost 10 years

Having a look at the screenshots, you'll notice the loading times of all 3 sites are almost the same (around 2 seconds for the Ossn administrator page, retrieved over a 16Mbit DSL connection, WIN10, Chrome, and cache DISABLED)
http://z-mans.net/ossn-reports/3055/load-girls.png
http://z-mans.net/ossn-reports/3055/load-newblue.png
http://z-mans.net/ossn-reports/3055/load-zytanien.png

You may access the images directly at http://z-mans.net/ossn-reports/3055/

us 100Max 100Max Replied 7 years ago
  • Same problem. Same version. Latest git version... was extremely slow loading...
  • I thought it was just me.. since my tests sites are running on an android tablet. lol!
  • but I see the first poster is running it on windows with 16gb of ram. O_O
    ...surely that will process things way faster than an old android tablet. haha.
  • THIS Kinda (pretty much) FIXED the extremely slow loading of the pages.
  • TURN ON CACHE: administrator.. Site Settings: Cache. and Enable Cache.
  • PC browser = 100% increase in loading time speed.
  • Phone browser = 70-75% increase in loading time speed.
    (But that is cache.. if you clear cache.. it will have to reload everything. which is again slow.)

.. I think it was bootstrap something using up all the loading time before i enabled cache.
... everything seems to be working.. except for the Privacy button.. it just hangs. :-/
I assume that is caused by a rewrite rule that I have not yet added?
Running it ALL ON ANDROID: LigHTTPD | Mysql | PHP7.2.3 | FTP. (ksweb server app)
.. while ksweb has apache.. it doesn't work for me at all.. and i mean apache. not this script. lol

Just testing stuff out here.. trying to find the best social script that i can mod to my liking.

gb Rishi B Replied 7 years ago

yeah Arsalan is right, I should have indicated that my virtual machine inside Windows is only 2gb ram, and it's still quite fast. That's with a couple of other webservers running natively in windows also (although that's the only webserver running in vmware).

Indonesian Arsalan Shah Replied 7 years ago

Running on VM inside windows should work fine, but if you run on pure windows you will face such type of issues. The response and processing time for windows for php is slower than the linux.

Ok here are my tests :

I tried to run OSSN on Windows OS with core i7 and 16GB ram. The response is ok but i tried to run same on Linux with 1GB RAM and v1CPU , the response was much faster.

gb Rishi B Replied 7 years ago

it shouldn't be THAT slow. I'm running it on a windows machine (using the virtual machine image) which only has 8gb ddr memory on a 10Mbps upstream connection and my site loads pretty fast. I do experience a terrible amount of lag with the mobile app, however (that is almost surely because it's doing some other stuff which involves connecting to Softlab24 servers - I haven't sniffed the traffic but I'm nearly positive of this).

gb Nathan Jonathan Replied 7 years ago

Thank you for responding to me so fast, I'll make sure it's not on my end as I'm running it on windows. It took me 3 hours to realize it was open source.

PS Thanks devs for making it open source so people can basically do whatever they want with it.

German Michael Zülsdorff Replied 7 years ago

No, it's not normal.
Simply open the developer console of your browser, click the Network tab, reload your community page and you'll get a detailed view of loading times.
Aside from that, please follow the How-To-Report-A-Bug in the documentation section here.