V2

happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: V2

Post by happydg »

I'm using centos through ssh and i'm not sure which command it is, so i typed:

iostat -dx /dev/sda 5

yDevice: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
sda 18.00 110.00 25.60 117.80 2803.20 1015.80 53.26 2.87 19.99 27.63 18.33 6.52 93.46
admin
Site Admin
Posts: 37249
Joined: Wed Sep 10, 2008 11:43 am

Re: V2

Post by admin »

Utilization is almost at 100%
so the problem is HDD

you should improve this parameter

1. optimize cache (couchbase, redis)
2. optimize mysql settings
3. add SSD
Don't forget to run script update
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: V2

Post by happydg »

I already use couchbase and optimized database and changed some to innodb. I can't add more hard drive or ssd on this box.

Can i upgrade to v2 and will it use less hdd load and memory usage?
admin
Site Admin
Posts: 37249
Joined: Wed Sep 10, 2008 11:43 am

Re: V2

Post by admin »

At present time there' s no smooth transition.
You can install v2 as a separate script - yes
Don't forget to run script update
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: V2

Post by happydg »

1) Is there a way to export all galleries from v1.51 ( i don't care about ctr info and stats, just thumb url, desc, tags, models ) and import them to v2.0?

I tried Rotation - Export - Checked Send as file, because i have 700k galleries, it loads for a while, then goes to error 504 gateway.

2) Is it possible to install v2.0 on the same domain but another directory while transfering data?

Thank you.
admin
Site Admin
Posts: 37249
Joined: Wed Sep 10, 2008 11:43 am

Re: V2

Post by admin »

1. create a template with desired pattern like

<thumb num=1-100>
<!--URL-->|<!--THUMB_URL-->
</thumb>

and add & page=.. when you open that template

2. yes
Don't forget to run script update
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: V2

Post by happydg »

In rotation - Import, Group = Filter Keywords ( alt + Desc + tags ).

Does it also look in custom vars for keywords?

I'm asking that because many times tubes dumps have category and tags, so i put categories as tags and tags as custom var 2.

Thank you.
admin
Site Admin
Posts: 37249
Joined: Wed Sep 10, 2008 11:43 am

Re: V2

Post by admin »

In rotation - Import, Group = Filter Keywords ( alt + Desc + tags ).

Does it also look in custom vars for keywords?
No
Don't forget to run script update
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: V2

Post by happydg »

I have galleries with photos downloaded from fhgs. What's the tag to show number of photos in a gallery?

I need to put this on content_list.
admin
Site Admin
Posts: 37249
Joined: Wed Sep 10, 2008 11:43 am

Re: V2

Post by admin »

Can we please start a new topic ?
This topic becomes useless as it has a lot of different questions.
Don't forget to run script update
Post Reply