Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: users

Archived articles

 

 

Bricolage users RSS feed   Index | Next | Previous | View Threaded


chauncey.thorn at gmail

Oct 6, 2008, 1:33 PM

Post #1 of 6 (1403 views)
Permalink
Archived articles

Hello all,
My archival of articles has quit working. Any help on where to start
looking would help.
I have this line of code in my templates..


% if (my $archive_uri = $m->comp('/util/archive_category.mc', full_uri => 1)) {

<p class="moreLink"><a href="<% $archive_uri %>"
title="Archives">Full Cover Stories Archive</a></p>

% }

in the <%init%> block I have this...

my $archive_uri = $story->get_primary_category->get_uri;
$archive_uri .= 'archives/index.php';
$archive_uri =~ s|^/||; # php does not like leading slashes

my @archive = grep $_ => @stories[0 .. $idx];

Yet no directories are being create etc...

Thanks in advance for any feedback.

Chauncey Thorn
Sr. Applications Developer / Systems Administrator
Vibe Media Group


phillip at communitybandwidth

Oct 6, 2008, 1:36 PM

Post #2 of 6 (1316 views)
Permalink
Re: Archived articles [In reply to]

Error message? Log file error message?

On 6-Oct-08, at 4:33 PM, Chauncey Thorn wrote:

> Hello all,
> My archival of articles has quit working. Any help on where to start
> looking would help.
> I have this line of code in my templates..
>
>
> % if (my $archive_uri = $m->comp('/util/archive_category.mc',
> full_uri => 1)) {
>
> <p class="moreLink"><a href="<% $archive_uri %>"
> title="Archives">Full Cover Stories Archive</a></p>
>
> % }
>
> in the <%init%> block I have this...
>
> my $archive_uri = $story->get_primary_category->get_uri;
> $archive_uri .= 'archives/index.php';
> $archive_uri =~ s|^/||; # php does not like leading slashes
>
> my @archive = grep $_ => @stories[0 .. $idx];
>
> Yet no directories are being create etc...
>
> Thanks in advance for any feedback.
>
> Chauncey Thorn
> Sr. Applications Developer / Systems Administrator
> Vibe Media Group

--
Phillip Smith,
Simplifier of Technology
Community Bandwidth
http://www.communitybandwidth.ca


chauncey.thorn at gmail

Oct 6, 2008, 2:20 PM

Post #3 of 6 (1318 views)
Permalink
Re: Archived articles [In reply to]

Category Archive documents belong only in the Galleries, Free Agent,
or A/V Gallery categories.
This one is in /galleries

Which seems odd because old categories work. Any new category created
no archive..


I'm also getting this error a lot..- however I don't think this would
prevent the archives from being created.


[Mon Oct 6 21:13:48 2008] (30787) Apache::SizeLimit httpd process too
big, exiting at SIZE=203580 KB SHARE=1444 KB UNSHARED=202136
REQUESTS=2 LIFETIME=0
seconds
[Mon Oct 6 21:13:49 2008] (30808) Apache::SizeLimit httpd process too
big, exiting at SIZE=203580 KB SHARE=1444 KB UNSHARED=202136
REQUESTS=2 LIFETIME=0
seconds
[Mon Oct 6 21:13:50 2008] (30811) Apache::SizeLimit httpd process too
big, exiting at SIZE=203580 KB SHARE=1444 KB UNSHARED=202136
REQUESTS=2 LIFETIME=0
seconds
[Mon Oct 6 21:13:50 2008] (30810) Apache::SizeLimit httpd process too
big, exiting at SIZE=203580 KB SHARE=1444 KB UNSHARED=202136
REQUESTS=2 LIFETIME=0
seconds


Thanks for your time.

On Mon, Oct 6, 2008 at 4:36 PM, Phillip Smith
<phillip [at] communitybandwidth> wrote:
>
> Error message? Log file error message?
>
> On 6-Oct-08, at 4:33 PM, Chauncey Thorn wrote:
>
>> Hello all,
>> My archival of articles has quit working. Any help on where to start
>> looking would help.
>> I have this line of code in my templates..
>>
>>
>> % if (my $archive_uri = $m->comp('/util/archive_category.mc', full_uri =>
>> 1)) {
>>
>> <p class="moreLink"><a href="<%
>> $archive_uri %>"
>> title="Archives">Full Cover Stories Archive</a></p>
>>
>> % }
>>
>> in the <%init%> block I have this...
>>
>> my $archive_uri = $story->get_primary_category->get_uri;
>> $archive_uri .= 'archives/index.php';
>> $archive_uri =~ s|^/||; # php does not like leading slashes
>>
>> my @archive = grep $_ => @stories[0 .. $idx];
>>
>> Yet no directories are being create etc...
>>
>> Thanks in advance for any feedback.
>>
>> Chauncey Thorn
>> Sr. Applications Developer / Systems Administrator
>> Vibe Media Group
>
> --
> Phillip Smith,
> Simplifier of Technology
> Community Bandwidth
> http://www.communitybandwidth.ca
>
>
>
>


david at kineticode

Oct 6, 2008, 2:30 PM

Post #4 of 6 (1315 views)
Permalink
Re: Archived articles [In reply to]

On Oct 6, 2008, at 14:20, Chauncey Thorn wrote:

> Category Archive documents belong only in the Galleries, Free Agent,
> or A/V Gallery categories.
> This one is in /galleries
>
> Which seems odd because old categories work. Any new category created
> no archive..
>
>
> I'm also getting this error a lot..- however I don't think this would
> prevent the archives from being created.
>
>
> [Mon Oct 6 21:13:48 2008] (30787) Apache::SizeLimit httpd process too
> big, exiting at SIZE=203580 KB SHARE=1444 KB UNSHARED=202136
> REQUESTS=2 LIFETIME=0
> seconds
> [Mon Oct 6 21:13:49 2008] (30808) Apache::SizeLimit httpd process too
> big, exiting at SIZE=203580 KB SHARE=1444 KB UNSHARED=202136
> REQUESTS=2 LIFETIME=0
> seconds
> [Mon Oct 6 21:13:50 2008] (30811) Apache::SizeLimit httpd process too
> big, exiting at SIZE=203580 KB SHARE=1444 KB UNSHARED=202136
> REQUESTS=2 LIFETIME=0
> seconds
> [Mon Oct 6 21:13:50 2008] (30810) Apache::SizeLimit httpd process too
> big, exiting at SIZE=203580 KB SHARE=1444 KB UNSHARED=202136
> REQUESTS=2 LIFETIME=0
> seconds

Apache::SizeLimit is a bit too aggressive; it's killing processes
after only two requests. Increase the value of MAX_PROCESS_SIZE in
bricolage.conf and restart.

Best,

David


chauncey.thorn at gmail

Oct 6, 2008, 2:43 PM

Post #5 of 6 (1307 views)
Permalink
Re: Archived articles [In reply to]

Is there a formula for this directive?

On Mon, Oct 6, 2008 at 5:30 PM, David E. Wheeler <david [at] kineticode> wrote:
> On Oct 6, 2008, at 14:20, Chauncey Thorn wrote:
>
>> Category Archive documents belong only in the Galleries, Free Agent,
>> or A/V Gallery categories.
>> This one is in /galleries
>>
>> Which seems odd because old categories work. Any new category created
>> no archive..
>>
>>
>> I'm also getting this error a lot..- however I don't think this would
>> prevent the archives from being created.
>>
>>
>> [Mon Oct 6 21:13:48 2008] (30787) Apache::SizeLimit httpd process too
>> big, exiting at SIZE=203580 KB SHARE=1444 KB UNSHARED=202136
>> REQUESTS=2 LIFETIME=0
>> seconds
>> [Mon Oct 6 21:13:49 2008] (30808) Apache::SizeLimit httpd process too
>> big, exiting at SIZE=203580 KB SHARE=1444 KB UNSHARED=202136
>> REQUESTS=2 LIFETIME=0
>> seconds
>> [Mon Oct 6 21:13:50 2008] (30811) Apache::SizeLimit httpd process too
>> big, exiting at SIZE=203580 KB SHARE=1444 KB UNSHARED=202136
>> REQUESTS=2 LIFETIME=0
>> seconds
>> [Mon Oct 6 21:13:50 2008] (30810) Apache::SizeLimit httpd process too
>> big, exiting at SIZE=203580 KB SHARE=1444 KB UNSHARED=202136
>> REQUESTS=2 LIFETIME=0
>> seconds
>
> Apache::SizeLimit is a bit too aggressive; it's killing processes after only
> two requests. Increase the value of MAX_PROCESS_SIZE in bricolage.conf and
> restart.
>
> Best,
>
> David
>
>


david at kineticode

Oct 29, 2008, 11:34 AM

Post #6 of 6 (1218 views)
Permalink
Re: Archived articles [In reply to]

On Oct 6, 2008, at 14:43, Chauncey Thorn wrote:

> Is there a formula for this directive?

According to Bric::Admin:

> CHECK_PROCESS_SIZE: Turn on this feature to limit the size of Apache
> child processes. MAX_PROCESS_SIZE determines the maximum size in KBs
> to which the processes will be allowed to grow. CHECK_FREQUENCY
> determines how many requests will be handled before a process'
> candidacy for termination is evaluated. MIN_SHARE_SIZE Indicates the
> minimum amount of shared memory the process must employ to not be a
> candidate for termination. MAX_UNSHARED_SIZE Sets a limit on the
> amount of unshared memory a process may consume to not be a
> candidate for termination. Set MIN_SHARE_SIZE or MAX_UNSHARE_SIZE to
> '0' to disable either respective test. All size settings are in KBs.
> See Apache::SizeLimit for more information.

You'll have to play around with it a bit to find the most optimum
setting.

Best,

David

Bricolage users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.