Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sluggish performance and upload failures #350

Closed
amjiphone opened this issue Jan 21, 2014 · 10 comments
Closed

Sluggish performance and upload failures #350

amjiphone opened this issue Jan 21, 2014 · 10 comments

Comments

@amjiphone
Copy link

I have been trying to allow @davivel to do some testing with the Android application. I got him a user setup but the uploads are failing and the site is very sluggish. He had suggested I open a new ticket and work with someone to improve the site performance and get it setup so that it is working at 100% so we can start the Android app testing.

@davivel
Copy link
Contributor

davivel commented Jan 21, 2014

We'll test ** tomorrow ** at some moment between 11:00 AM and 1:00 PM EDT.

@amjiphone
Copy link
Author

I shut down all of the background web services I run and made sure nothing is writing to any of the mysql databases. I have tested uploading a few different files and everything is loading for me. One thing I noticed is the initial loading of the site is a little slow.

@davivel
Copy link
Contributor

davivel commented Jan 22, 2014

Tried again:

  1. I oppened the ownCloud app; the root folder was refreshed, resulting in an empty list; apparently all fine.
  2. I uploaded a file under 1MB; all the data of the file were send, but the server did not respond with the corresponding HTTP result; after 1 minute, the app decides there was a timeout.
  3. I try to access to the server from Chrome in a PC; the browser keeps waiting forever.

Any HTTP operation later on your server is waiting without response. This seems some kind of problem with your web server configuration. Could you give us more details about it? Are you using a proxy? Is everything in port 80? What steps did you follow to install ownCloud?

Can you check the current state of the server and restart it?

@amjiphone
Copy link
Author

Ok. I was actually changing a few things before we hit 11am to make sure that it was running and everything was smooth. I apologize for that, I had been restarting Apache. I have it running now and did an upload over the web client. That worked ok. I uploaded a .wav file with out issue.

@davivel
Copy link
Contributor

davivel commented Jan 22, 2014

I tried to access through the web interface. I could log in and see the file you uploaded. I could rename it, but when I tried to download I didn't get it. After that, ownCloud gets unresponsive. I couldn't log out, for instance.

There is a Wordpress instance working in other path of your server. Could you disable / uninstall it temporary?

Please, could you tell me what steps, manual or guide did you follow to install your ownCloud server?

@amjiphone
Copy link
Author

The Wordpress site has been moved.

I downloaded the zip file and extracted it to a folder in the root of my web server named Owncloud. I then pointed my browser to http://www.XXXX.com/owncloud/ and followed the prompts for the user setup and database connection. I added a database in MySQL for this and got the user permissions to it. After that I was able to then start uploading and downloading files from the web and from the Mac client.

@davivel
Copy link
Contributor

davivel commented Jan 22, 2014

Did you check the prerequisites at http://doc.owncloud.org/server/5.0/admin_manual/installation/installation_source.html ?

Please, have a look to it, specially to the step 'Set the Directory Permissions' and 'Enable .htaccess and mod_rewrite if Running Apache'.

@amjiphone
Copy link
Author

I followed the document to make sure that I have everything setup correctly. I am running this on Windows so the permissions settings are a little bit different. I have mod_rewrite on. I am loading the proper PHP extensions. So everything in there checks out. I do not know if this is causing your browsing issues or not, but I am running Snort on my firewall at home that could be blocking you or killing your connection. I went ahead and disabled that for now.

@davivel
Copy link
Contributor

davivel commented Jan 22, 2014

Ok, that made a great difference.

Everything is working now, both from web interface and from the ownCloud app, and the server is much more responsive. Try yourself with Snort disabled, and then tell me. Probably you will need to check its configuration to allow uploads (HTTP PUT method is used) to the ownCloud WebDAV URL.

EDIT: I can't test any more now.

@amjiphone
Copy link
Author

I downloaded the app again and enable the instant upload and it is now working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants