Jump to content
fryk

Access to Processwire on NAS very slow

Recommended Posts

Hallo,

I use Processwire for a few months now. And I was really happy with it. Now, I have a problem that might be related to Processwire - or not. I hope someone can give me a hint.

My problem is this: Accessing my Processwire website is really slow on a ("local") XAMPP installation. Frontend as well as backend.

The situation: I used Processwire 3.0.42 / XAMPP for Windows 5.6.28-1 on my local PC to make a website. All worked fine. Then I moved my htdocs and mysql Database to a NAS (changed the mysql.ini / httpd.conf files), so my co-worker could access the files, too. From that point, processwire takes about 5 seconds, until a page starts to load. With plain HTML/PHP websites this problem doesn't seem to occur. I made a new Processwire Installation, but that did not change anything.

mysql shows no errors. Apache shows a few notices and warnings, mostly:

AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
AH00354: Child: Starting 150 worker threads.

Does anyone have the same problem, an idea what I could try to do, or even better, a solution? I really wonder why that is ... 

Thanks a lot!

Share this post


Link to post
Share on other sites

Do you use XAMPP on the NAS as well or a serious webserver? There are multiple topics on the forums of XAMPP or generally locally hosted sites being slow, some of them were resolved by using 127.0.0.1 instead of localhost for the db. Maybe take a look at them.

  • Like 2

Share this post


Link to post
Share on other sites

Thanks for your hint. I will check it out.

XAMPP is only running on my local PC right now, and accessing the files on the network drive (QNAP TS 239 Pro2). Nothing special there. I just moved the htdocs folder and the mysql database there.

Edit: By the way, it happens on all browsers I tested it on. And all of them wait about 5 seconds untill they start to load the page. 

Share this post


Link to post
Share on other sites

Oh, only the files are on the NAS. Then I'd imagine this slow-down is to be expected. Network drives are slow (and XAMPP not the fastest to begin with). Network drives can be quite fast transfering single bigger files, but for lots of small files like a php project it's bad.

  • Like 1

Share this post


Link to post
Share on other sites

Hmm. If that really is because of the NAS, I think I have to look for another solution. I hoped I could use the NAS that way, but it's really annoying to have to wait so long all the time.

Share this post


Link to post
Share on other sites

You would need a NAS that can run a webserver with PHP and MySQL. Or a Raspberry PI 3B.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By VeiJari
      Hello forum! I'm trying to learn how to time up my functions by using lazycron but I can't get it fired up. 
      Here's my code in site/init.php:
      function setEventToRepeat(HookEvent $e) { $wire->log->message("kutsutaan cron"); $events = $wire->pages->find('template=tapahtuma'); die(var_dump($events)); $wire->log->message('Kaikki tapahtumat haettu:' .$events); }   $wire->addHook('LazyCron::every30Seconds', null, 'setEventToRepeat'); I get nothing in the logs and can't echo or dump anything
      Thanks for the help!
    • By angelo, italy
      Hi guys,
      I've always used WP but I want to swtich to PW. I'm not sure ....
      I'd like to know if it's possible to create a website for an online photo contest.
      The participants of the competition could create their own account, in which they upload their photos. The photos uploaded remain visible only to themselves and the judges.
      From their account they can make the "entrance fee" payment.
      The judges of the competition can create their own account... entering they see the photos of the participants and vote photos
      At the main page I imagine the title of the competition, a button to read the regulation, and a button to register.
      The website should be in Italian and English.
      Thank you!!
       
       
    • By henri
      Hi Guys, 
      I am new to processwire. I have to move a proceswire web to another server. How do i do that??? copying all the files doesnt seem to do the trick. I am presented with a very very old version of the website. What do I do wrong??
    • By Sabrina
      Hi,  
      I would like to start tracking my website visitors with Leady software. Searched the forum for similar discussion yet did not find the right answer. Could you please tell me how can I add their javascript to my website? Is there any step by step guide available?
      Any help appreciated. 
    • By JeevanisM
      Hello All,
      I started with Joomla on this CMS parade. Then later I put my hands on Wordpress and eventually settled into Concrete 5.  Recently I came to know about ProcessWire CMS, while I was looking for a better replacement for Concrete 5 in terms of robust, easiness, compact.  I went through few Video tutorials of PW and read the documentation. The installation of PW was smoothy.
      The concept of Page is awsome. I like the relation of Page, Fields & Templates. There are many things I can equal to Concrete 5 from ProcessWire, yet PW offers a tiny minimal, code level approach for CMS. We have full control over design & data. There are some pitfalls I felt such no sitewide settings, global logo setup etc but it is easily tackled with some API codes. PW api seems amazing, it is par with what Concrete 5 Offers.
       
      I have done a simple website in ProcessWire now and going to do a lot further :
      http://insignnia.in/
×
×
  • Create New...