load from server

Iv

Joined: 2011-03-17
Posts: 15
Posted: Thu, 2011-03-17 11:29

I ask to help.
On ftp (servage.net) has loaded approximately 500 folders, into them approximately 200000 photos. I add in gallery "server". Approximately in 3-5 minutes, having loaded about 600-800 photos, the browser hangs.
Any more I do not know where to search for the reason. Help, who knows that can be?

2.3.1 1.3.0.1
API = 7.54, 3.9, 2.6, 1.5
PHP = 5.2.42-servage17 apache2handler
server = Apache
mysqli 5.0.85-log, lock.system=flock
Gd
none, none
Linux node2 2.100.4-1-amd64-grsec #1 SMP Tue Dec 28 21:57:50 CET 2010 x86_64
matrix

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2011-03-17 13:47

Stop using GD. Use ImageMagick.

If you need more help give more information. How big are the photos, a link to phpinfo, etc:
FAQ: How do I create a phpinfo page?
____________________________________________
Like Gallery? Like the support? Donate now!

 
Iv

Joined: 2011-03-17
Posts: 15
Posted: Thu, 2011-03-17 20:38

Has made, as you have told. Has removed gd, deactivated all graphic, except ImageMagick. The situation does not change. In the browser below writes is ready, the line of a condition of loading fades as in ~5 minutes. Tortures proceed the second week. (
php.ini servage.net does not perceive, how much I have understood. Has registered in htaccess:
<IfModule mod_php5.c>
php_flag short_open_tag On
php_flag magic_quotes_gpc Off
php_flag magic_quotes_sybase Off
php_flag magic_quotes_runtime Off
php_flag register_globals Off
php_flag session.auto_start Off
php_flag suhosin.session.encrypt Off
php_value upload_max_filesize 1024M
php_value post_max_size 1024M
php_value max_input_time 600000
php_value memory_limit 1024M

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2011-03-17 20:48
myself wrote:
If you need more help give more information. How big are the photos, a link to phpinfo, etc:
FAQ: How do I create a phpinfo page?

____________________________________________
Like Gallery? Like the support? Donate now!

 
Iv

Joined: 2011-03-17
Posts: 15
Posted: Fri, 2011-03-18 05:52

I use the gallery version 2.3.1

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2011-03-18 06:15

I'll give you one more chance. Post a link to phpinfo:
FAQ: How do I create a phpinfo page?
____________________________________________
Like Gallery? Like the support? Donate now!

 
Iv

Joined: 2011-03-17
Posts: 15
Posted: Fri, 2011-03-18 06:29

photos to 1mb

phpinfo page:
http://mysexbang.com/phpinfo.php

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2011-03-18 15:21

Gallery tries it's best to overcome limited resources, but I'm betting you're hitting at least one maybe several resource limits:

You're trying to process a massive amount of data, yet PHP only has a max execution time of 40 seconds and a memory limit of 32MB

Try bumping both of those up if you can.

Quote:
php.ini servage.net does not perceive, how much I have understood. Has registered in htaccess:
<IfModule mod_php5.c>
php_flag short_open_tag On
php_flag magic_quotes_gpc Off
php_flag magic_quotes_sybase Off
php_flag magic_quotes_runtime Off
php_flag register_globals Off
php_flag session.auto_start Off
php_flag suhosin.session.encrypt Off
php_value upload_max_filesize 1024M
php_value post_max_size 1024M
php_value max_input_time 600000
php_value memory_limit 1024M

Your server isn't reading or using those values.
____________________________________________
Like Gallery? Like the support? Donate now!

 
Iv

Joined: 2011-03-17
Posts: 15
Posted: Mon, 2011-03-21 06:24

It at me is written in htaccess:
<IfModule mod_php5.c>
php_flag short_open_tag On
php_flag magic_quotes_gpc Off
php_flag magic_quotes_sybase Off
php_flag magic_quotes_runtime Off
php_flag register_globals Off
php_flag session.auto_start Off
php_flag suhosin.session.encrypt Off
php_value upload_max_filesize 1024M
php_value post_max_size 1024M
php_value max_input_time 600000
php_value memory_limit 1024M

Memory is increased to 1024, the result has not changed ((

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Mon, 2011-03-21 06:52

What nivekiam was trying to tell you is that the settings you are putting into your htaccess file is not being used by php. I.E. your php installation ignores your attempts to change php parameters through the htaccess.

Ask your host for help in changing those parameters.

--
dakanji.com

 
Iv

Joined: 2011-03-17
Posts: 15
Posted: Mon, 2011-03-21 09:51

But system gallery, when there is a photo loading, writes that memory 1024, not as earlier 32M. Also I asked host, to me have told that it is possible to register htaccess, and it will work

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Mon, 2011-03-21 10:05

If I understand your issue, you have uploaded 200,000 files unto a server by ftp and now want to use the add from server mode to ingest them into G2. However, G2 hangs after uploading about 600 to 800 images.
Well, 200,000 items is a hell of a lot to be trying to swallow at once. Try ingesting them in batches of about 600 to 800 items. Slow and steady wins the race.

--
dakanji.com

 
Iv

Joined: 2011-03-17
Posts: 15
Posted: Wed, 2011-03-23 05:53

Means gallery2,3 are not intended for loading of great volumes of a photo?
It is possible to register somehow ways to folders, where there are photos not to load?
There is any alternative to the program gallery?

 
Iv

Joined: 2011-03-17
Posts: 15
Posted: Wed, 2011-03-23 13:36

Has stopped while on gallery3. Loads on 1200 photos, then stops itself. I press a pause, then to continue. More or less copes with a problem.
To tell, possibilities gallery 3 much less, than at the second version? The menu is not enough management, in comparison with the second. Theme options too much less. Why?
Whether there is a possibility to look through video?
Excuse that I write crookedly, Russian)