You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(7) |
Nov
(29) |
Dec
(101) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(90) |
Feb
(101) |
Mar
(173) |
Apr
(141) |
May
(38) |
Jun
(28) |
Jul
(14) |
Aug
(7) |
Sep
(3) |
Oct
(7) |
Nov
(15) |
Dec
(9) |
2002 |
Jan
(2) |
Feb
(5) |
Mar
(11) |
Apr
|
May
(4) |
Jun
(6) |
Jul
(7) |
Aug
(12) |
Sep
(8) |
Oct
(1) |
Nov
(4) |
Dec
(7) |
2003 |
Jan
(7) |
Feb
(1) |
Mar
(9) |
Apr
(2) |
May
(3) |
Jun
(4) |
Jul
(19) |
Aug
(4) |
Sep
(8) |
Oct
(30) |
Nov
(25) |
Dec
(22) |
2004 |
Jan
(6) |
Feb
(12) |
Mar
|
Apr
(2) |
May
|
Jun
(10) |
Jul
(18) |
Aug
(2) |
Sep
(4) |
Oct
(4) |
Nov
(4) |
Dec
(4) |
2005 |
Jan
(8) |
Feb
(4) |
Mar
(6) |
Apr
(5) |
May
|
Jun
(2) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(4) |
Nov
(3) |
Dec
|
2006 |
Jan
(9) |
Feb
(6) |
Mar
(11) |
Apr
|
May
(2) |
Jun
|
Jul
(2) |
Aug
(10) |
Sep
(8) |
Oct
|
Nov
(1) |
Dec
(1) |
2007 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(7) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <Vl...@ge...> - 2003-04-16 14:14:53
|
Hello all. We're using T2_3_0_85, and have noticed a small problem upon installation - doing an apachectl configtest results in the following warnings - is this something to be worried about? I see this kind of warning all the time when recompiling the Linux Kernel, and I usually just ignore them there - is it safe to ignore these, or is it indicative of a real problem? su-2.05a# /usr/local/apache/bin/apachectl configtest Subroutine modify_entry redefined at /usr/local/slash/site/www.arch-ware.com/htdocs/journal.pl line 781. Subroutine add_entry redefined at /usr/local/slash/site/www.arch-ware.com/htdocs/journal.pl line 804. Subroutine delete_entry redefined at /usr/local/slash/site/www.arch-ware.com/htdocs/journal.pl line 829. Subroutine get_entry redefined at /usr/local/slash/site/www.arch-ware.com/htdocs/journal.pl line 838. Subroutine get_entries redefined at /usr/local/slash/site/www.arch-ware.com/htdocs/journal.pl line 857. Subroutine get_uid_from_nickname redefined at /usr/local/slash/site/www.arch-ware.com/htdocs/journal.pl line 884. Subroutine _save_params redefined at /usr/local/slash/site/www.arch-ware.com/htdocs/journal.pl line 889. -- /"\ / For information and quotes, email us at \ / ASCII RIBBON CAMPAIGN / in...@lr... X AGAINST HTML MAIL / http://www.lrsehosting.com/ / \ AND POSTINGS / vl...@lr... ------------------------------------------------------------------------- |
From: shane <sh...@lo...> - 2003-04-09 10:22:50
|
What's the precident for determining a user's section? If I hit somesite.com, generally you'd do something like this: my $section = $reader->getSection($form->{section}); and you'd get section='index', for the most part. And if a site has sections setup that have their own tld, then if you hit mysection.somesite.com you'd get the section 'mysection'. Yet, if you specify on the command line mysection.somesite.com?section=othersection then the section's actually set to 'othersection'. (see it in action: http://ask.slashdot.org/?section=science ) So therefore, anytime the section is specified via a http query param it takes precidence? I still don't understand where $user->{currentSection} and $user->{mode} come in, but that may not relate directly to this msg. If this is the case, where specifying ?section=blah overrides, why do we let it override? It doesn't seem like we should let it override, ever. So what am I overlooking? Thanks, Shane |
From: Randall H. <li...@so...> - 2003-03-18 05:48:45
|
On Mon, 17 Mar 2003 20:16:54 -0600 "Howell, Mark" <ho...@ra...> wrote: > each httpd process contains it's own local cache of templates. > 'killall -HUP httpd' Sweet - that's exactly what I needed. Thanks! Randall |
From: Howell, M. <ho...@ra...> - 2003-03-18 02:17:03
|
Hello Randall, From what I know (or think I know), each httpd process contains it's own local cache of templates. You can force a refresh on un*x systems with a simple 'killall -HUP httpd' command. This sends a HUP signal to all httpd processes which causes them to refresh their cache and vars (constants). The failed template lookup comes from one process loading a fresh copy of a template that references a new template (that you just created) that it doesn't yet have in it's cache. A simple killall -HUP will fix this. Good luck, -Mark -----Original Message----- From: Randall Hansen [mailto:li...@so...] Sent: Monday, March 17, 2003 7:55 PM To: sla...@so... Subject: [Slashcode-development] caching vs updating templates Folks ~ I've been doing plugin development and I'm having trouble with what appears to be Slash's template caching. I've tried this in several browsers (Moz, Konq, Lynx) with identical results. When I make a change to a template, often the site doesn't update. Say I remove some text or a button from a template. Template-tool updates the template successfully, the changes appear correct in the Admin interface, but when I browse the page they don't always appear. I say "always" advisedly, because sometimes they do and sometimes they don't. I can hit the browser's "Refresh" 10 times and get 3 different versions of the page, even after clearing the browser cache. The second weird thing that happens is that sometimes Slash doesn't find the template at all. Here's a sample line from the site's error log: [Tue Mar 18 01:37:55 2003] [error] /n4n4.pl:Slash::Display::Provider:/usr/local/lib/perl/5.6.1/Slash/Display/Pr ovider.pm:81:Failed template lookup on 'edit_org;n4n4[misc];default[default]', callers: Slash::Display line 228, Apache::ROOTrancid::n4n4_2epl line 66, Apache::ROOTrancid::n4n4_2epl line 43 This happens although every tool I can use (the Admin interface, template-tool, querying the database directly) shows me the template just as it should be. It often happens after I update a template. I've managed to avoid these errors somewhat (but not completely) by setting 'cache_enabled' to 0, but I've not spent enough time in the code to understand exactly how caching works. Is this behavior expected, or abnormal? Does anyone have any help, or pointers to other resources? Thanks muchly, Randall ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Slashcode-development mailing list Sla...@li... https://lists.sourceforge.net/lists/listinfo/slashcode-development [ALERT] -- Access Manager: This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this e-mail or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this e-mail in error, please immediately notify us by calling our North American Help Desk at (972)506-3939. |
From: Randall H. <li...@so...> - 2003-03-18 01:54:30
|
Folks ~ I've been doing plugin development and I'm having trouble with what appears to be Slash's template caching. I've tried this in several browsers (Moz, Konq, Lynx) with identical results. When I make a change to a template, often the site doesn't update. Say I remove some text or a button from a template. Template-tool updates the template successfully, the changes appear correct in the Admin interface, but when I browse the page they don't always appear. I say "always" advisedly, because sometimes they do and sometimes they don't. I can hit the browser's "Refresh" 10 times and get 3 different versions of the page, even after clearing the browser cache. The second weird thing that happens is that sometimes Slash doesn't find the template at all. Here's a sample line from the site's error log: [Tue Mar 18 01:37:55 2003] [error] /n4n4.pl:Slash::Display::Provider:/usr/local/lib/perl/5.6.1/Slash/Display/Provider.pm:81:Failed template lookup on 'edit_org;n4n4[misc];default[default]', callers: Slash::Display line 228, Apache::ROOTrancid::n4n4_2epl line 66, Apache::ROOTrancid::n4n4_2epl line 43 This happens although every tool I can use (the Admin interface, template-tool, querying the database directly) shows me the template just as it should be. It often happens after I update a template. I've managed to avoid these errors somewhat (but not completely) by setting 'cache_enabled' to 0, but I've not spent enough time in the code to understand exactly how caching works. Is this behavior expected, or abnormal? Does anyone have any help, or pointers to other resources? Thanks muchly, Randall |
From: Howell, M. <ho...@ra...> - 2003-03-12 03:07:46
|
I'm sorry I didn't realize that the Search plugin that ships with Fry was 1.5 years old. I grabbed a more recent version, changed a few things (like url aliasing in Slash::Apache::User) and it appears to be working fine. Thanks, -Mark -----Original Message----- From: Brian Aker [mailto:br...@ta...] Sent: Monday, March 10, 2003 2:37 PM To: Howell, Mark Cc: 'sla...@li...' Subject: Re: [Slashcode-development] Enabling Journal searching On Mon, 2003-03-10 at 12:32, Howell, Mark wrote: > Journals. When I dig around the code, I find places where code exists to > search journals (e.g. in Search plugin), but with strong warnings not to That is a very old warning, we have had journal searches for a long time now. -Brian [ALERT] -- Access Manager: This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this e-mail or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this e-mail in error, please immediately notify us by calling our North American Help Desk at (972)506-3939. |
From: Howell, M. <ho...@ra...> - 2003-03-11 00:53:45
|
From: Brian Aker [mailto:br...@ta...] On: Monday, March 10, 2003 2:37 PM > On Mon, 2003-03-10 at 12:32, Howell, Mark wrote: > > Journals. When I dig around the code, I find places where code exists to > > search journals (e.g. in Search plugin), but with strong warnings not to > That is a very old warning, we have had journal searches for a long time > now. > -Brian I've bypassed (ignored) the warnings as per your suggestion, and now I'm trying to get the code to work. For some reason, when I run a query that searches the journals table from within Slashcode, it finds nothing, but running it from the MySQL interpreter, finds several records. I tried changing the code in Search.pm to use the more standard-looking Slash::DB::Utility sqlSelectArrayRef(..) method, but I get similar (empty) results. No error is logged. It doesn't seem to matter whether I'm using a different search_db_user or not. Is there something that I should be aware of that the DBIx::Password may be doing differently than the MySQL interepreter? I can connect using the mysql client as the same user that Slash uses, and get positive results. Other forms of search query (Stories) appear to work fine. Journals seem to be the only one that returns nil. Bizarre. -Mark [ALERT] -- Access Manager: This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this e-mail or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this e-mail in error, please immediately notify us by calling our North American Help Desk at (972)506-3939. |
From: Brian A. <br...@ta...> - 2003-03-10 20:53:06
|
On Mon, 2003-03-10 at 12:32, Howell, Mark wrote: > Journals. When I dig around the code, I find places where code exists to > search journals (e.g. in Search plugin), but with strong warnings not to That is a very old warning, we have had journal searches for a long time now. -Brian -- _______________________________________________________ Brian "Krow" Aker, br...@ta... Slashdot Senior Developer Seattle, Washington http://krow.net/ http://askbrian.org/ _______________________________________________________ You can't grep a dead tree. |
From: Howell, M. <ho...@ra...> - 2003-03-10 20:33:46
|
Hello all, I've been developing a heavily customized slash (2.2.6) site the past few months. I've been tasked with enabling the search feature to include Journals. When I dig around the code, I find places where code exists to search journals (e.g. in Search plugin), but with strong warnings not to enable it. Is there anything that I should be cautious of before attempting to enable this? When I attempt to run the forbidden function (search.pl#findJournalEntry(..)), no results ever return. I have made sure that the search string exists in a journal entry, as the subject and even in comments, but still cannot be found by search.pl. When I dump the actual SQL code to see what's going on, I see some non-ANSI looking MATCH statements. Is this some MySQL proprietary thing (like for fulltext searching)? Any help would be greatly appreciated. -Mark [ALERT] -- Access Manager: This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this e-mail or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this e-mail in error, please immediately notify us by calling our North American Help Desk at (972)506-3939. |
From: Brian A. <br...@ta...> - 2003-03-07 17:26:13
|
On Fri, 2003-03-07 at 08:16, Bruce Fuda wrote: > >From what I've seen, problems seem to exist with the Email plugin, DiscussionEditor, Menu Editor (so I've heard), and I'm experiencing difficulty with the Events plugin as well. > Can anyone fill me in? I plan on creating a new slashsite very soon, and if any of these things are going to be repaired, I'll hold off a bit before I do it - I would trust the abilities of most of you guys over mine. I believe Events is just missing a template right now. Email needs to be completed (and we will do it sooner or later because it is needed). -Brian -- _______________________________________________________ Brian "Krow" Aker, br...@ta... Slashdot Senior Developer Seattle, Washington http://krow.net/ http://askbrian.org/ _______________________________________________________ You can't grep a dead tree. |
From: Bruce F. <Bru...@an...> - 2003-03-07 16:16:34
|
I've heard that there was discussion recently about which plugins are = currently broken, and I was curious to find out which ones people were = planning to redevelop/fix. From what I've seen, problems seem to exist with the Email plugin, = DiscussionEditor, Menu Editor (so I've heard), and I'm experiencing = difficulty with the Events plugin as well. Can anyone fill me in? I plan on creating a new slashsite very soon, and = if any of these things are going to be repaired, I'll hold off a bit = before I do it - I would trust the abilities of most of you guys over = mine. Bruceo --=20 http://gytha.anu.edu.au/ An exercise in slash experimentation |
From: James M. <jm...@tr...> - 2003-02-01 00:23:47
|
Hi, As a follow up to a question I asked and hackishly solved a few years ago about uploading a file, I am planning on using $form->{'query_apache'}, in order to upload files. Can I rely on this element to remain in getCurrentForm? Otherwise I will need to split off an instance of apache::request prior to calling createenvironment, but even then, according to the Apache::Request documentation, it isn't so safe to parse a file with an instance. Anyway, example code follows (different from the similar code in Admin.pl). ... my $form = getCurrentForm(); my $apr = $form->{'query_apache'}; my $upload = $apr->upload; my $loaded; if($upload){ $loaded = { type => $upload->type, name => $upload->name, filename => $upload->filename, fh => $upload->fh, size => $upload->size, }; #debug # print Dumper($loaded); my $filename = $loaded->{'filename'}; local *BLOB; if (! (-d "temp") ){ if (! (mkdir("temp",0744) )) { carp ("can't make temp \n"); } } if( -e "temp/$filename" ){ unlink "temp/$filename"; } $upload->link("temp/$filename") or die sprintf "link from '%s' failed: $!", $upload->tempname; # prove it works by echoing if($loaded->{'type'} =~ /text/){ print "<BR><CODE>"; open(BLOB, "<temp/$filename"); while (<BLOB>) { print "$_ <BR>"; } close BLOB; print "</CODE>"; } elsif ( $loaded->{'type'} =~ /image/){ print "<BR><img src='http:$constants->{'rootdir'}/temp/$filename'>"; } # other handlers as needed. } -- James E. Marca |
From: Chris J. <jo...@nm...> - 2003-01-17 14:47:10
|
Hi, newbie here. Are there any plans to add an alternate login capability to Slash, like PAM or NIS hooks? I'd really like my users to be able to user their NIS logins if possible. This is a local site. Externally addable accounts aren't an issue. Thank you. ------------------------------------------------------------------------------- Chris Johnson |Internet: jo...@nm... Systems Administrator |Web: http://www.nmr.mgh.harvard.edu/~johnson NMR Center |Voice: 617.726.0949 Mass. General Hospital |FAX: 617.726.7422 149 (2301) 13th Street |Fifty percent of all doctors graduated in the Charlestown, MA., 02129 USA |lower half of the class. Observation ------------------------------------------------------------------------------- |
From: i18n <i1...@ya...> - 2003-01-08 00:54:09
|
I don't think there was much coding involved at all - I think I just copied the original form for sign up, trimmed out what I didn't want, and added a check box for the list sign up. I probably copied the perl code from the user info page where you usually sign up for the list to the place where the user sign up action happens - I guess it just does a simple SQL statement in the user info. It was a long time ago and it might be a while before I can dig up the details but I don't think it is much more than a few cut and pastes. Maybe I put it in a new perl file, maybe not I don't recall - if my form ACTION line has a strange name, then I guess I made a new one, otherwise I modified the existing one a bit. Barry At 05:32 PM 1/7/2003 -0500, you wrote: >Barry, that's very slick and exactly the type of thing I was looking for! I like it because it solves the buried newsletter problem and gets people to sign up right off the front page. > >Was there much coding involved? I'd love to add something like that to my health news site and if you are able to save me the time of coding it up I would really appreciate it. Thanks! > >i18n wrote: > >>see www.i18n.com - you sign up for the newsletter (stories only on my site) by opting in when you do a quick sign up. Probably my readers don't even know the difference for the most part - if yours would, that is fine too. >>As you can see, all you have to do (from the front page if you are not already logged in) is enter your email address, leave the box checked, and press the button. That gets you a subscription and a membership. I maintain that it is impossible to get simpler than that. >> >>Barry >> >>At 03:34 PM 1/7/2003 -0500, you wrote: >> >> >>>Does anyone have something where the users can quickly subscribe to the newsletter, perhaps without even registering first? Right now the subscription process is buried in the Messages screen and I wanted to know if anyone had done anything to make it easier to subscribe. Thanks. >>> >>>-- kinosis.com <http://kinosis.com> - Your Daily Dose of What's Fit to Print! >>> >> >> >> > > >-- >kinosis.com <http://kinosis.com> - Your Daily Dose of What's Fit to Print! |
From: i18n <i1...@ya...> - 2003-01-07 22:08:47
|
see www.i18n.com - you sign up for the newsletter (stories only on my site) by opting in when you do a quick sign up. Probably my readers don't even know the difference for the most part - if yours would, that is fine too. As you can see, all you have to do (from the front page if you are not already logged in) is enter your email address, leave the box checked, and press the button. That gets you a subscription and a membership. I maintain that it is impossible to get simpler than that. Barry At 03:34 PM 1/7/2003 -0500, you wrote: >Does anyone have something where the users can quickly subscribe to the newsletter, perhaps without even registering first? Right now the subscription process is buried in the Messages screen and I wanted to know if anyone had done anything to make it easier to subscribe. Thanks. > >-- >kinosis.com <http://kinosis.com> - Your Daily Dose of What's Fit to Print! |
From: shane <sh...@lo...> - 2003-01-07 20:33:38
|
On Tuesday 07 January 2003 15:34, Marc Murphy wrote: > Does anyone have something where the users can quickly subscribe to the > newsletter, perhaps without even registering first? Right now the > subscription process is buried in the Messages screen and I wanted to > know if anyone had done anything to make it easier to subscribe. Thanks. If you look at the latest Rtag of the CVS tree, the new user page has checkboxes for Replies to my comments will be mailed to me Send me the newsletter Send me the daily headlines (hit http://fry.lottadot.com/users.pl?op=newuserform to see it, that's my test-box). Is that what you are looking for? An easier method for them to subscribe? The checkboxes seemed like a pretty damned good idea to me. I don't think it's possible to let them subscribe w/o a valid user account in the website itself. Shane |
From: Marc M. <mwm...@ro...> - 2003-01-07 20:20:30
|
Does anyone have something where the users can quickly subscribe to the newsletter, perhaps without even registering first? Right now the subscription process is buried in the Messages screen and I wanted to know if anyone had done anything to make it easier to subscribe. Thanks. -- kinosis.com <http://kinosis.com> - Your Daily Dose of What's Fit to Print! |
From: i18n <i1...@ya...> - 2003-01-07 03:19:21
|
Shane - on i18n.com I am using topics as pseudo sub-sections. You can see what I mean from the left side menu box. I an not thrilled with it. I am still running 2.x because I don't have time to upgrade and refit the software mods I made but I am thinning about quick & dirty ways to address the confusion of topics and sections - one idea I had was to use mond_rewrite to create simpler URLs for all the long ones with search.pl in them. I am open to other suggestions as this probably won't happen for a while anyway. Barry At 10:25 PM 1/6/2003 -0500, you wrote: >Even though I've been messing with slash for quite some time now, I *still* >can confuse myself when thinking about topics and sections. Whenever I have >to setup a slash site, I have to force myself to sit down and map out the >topic and section relationship to make sure the way it's being setup makes >sense for the current moment, and hopefully the future. > >Anyway, now cometh the sub sections!! > >Has anyone written anything describing how these things work or are intended >to be used? >Examples of common section/topic/subsection layout, or even an example of some >fictitious entity needing X and using slash setup with Y to do it would be >fantastic. Has anyone written anything like this? > >Thanks, > Shane > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Slashcode-development mailing list >Sla...@li... >https://lists.sourceforge.net/lists/listinfo/slashcode-development |
From: shane <sh...@lo...> - 2003-01-07 03:09:11
|
Even though I've been messing with slash for quite some time now, I *still* can confuse myself when thinking about topics and sections. Whenever I have to setup a slash site, I have to force myself to sit down and map out the topic and section relationship to make sure the way it's being setup makes sense for the current moment, and hopefully the future. Anyway, now cometh the sub sections!! Has anyone written anything describing how these things work or are intended to be used? Examples of common section/topic/subsection layout, or even an example of some fictitious entity needing X and using slash setup with Y to do it would be fantastic. Has anyone written anything like this? Thanks, Shane |
From: Marc M. <mwm...@ro...> - 2002-12-06 23:13:55
|
The fix is easy. greypage(53) template uses op=add for the add friend link and that doesn't work. op=addmeta does and that's what all the other templates use. |
From: Marc M. <mwm...@ro...> - 2002-12-04 22:27:59
|
I've written a little forking program as an experiment. I've commented the code changes made. Not much other than a couple of new variables and the forking code. Here is a snippet of what the new function looks like. Everything below 'end new code' stays the same. However, with the broken $data=`$exec` command seems to go off into it's own little world, but at least the overall slashd process seems to be running smoothly. Before I think it was never returning and holding things up. Now it's never returning and not messing things up. I'll have to do more reading to make sure the spawned process is successfully ended. This kind of fix isn't my ideal solution. I really think it's either a Perl or system thing, but I could be wrong. I can kill the slashd processes that go off into their own little world and the parent slashd process continues humming along. The real issue here is why does the backtick call $data=`$exec` never return? sub prog2file { my($command, $arguments, $f, $verbosity, $handle_err) = @_; return 0 unless -e $command and -r _ and -x _; $verbosity ||= 0; $handle_err ||= 0; my $success = 0; my $err_str = ""; my $exec = "$command $arguments"; my($data, $err); my($pid, @output); #added by Marc # Two ways of handling data from child programs yet we maintain # backwards compatibility. if (! $handle_err) { # commented out by marc $data = `$exec`; # begin new code die "cannot fork: $!" unless defined ($pid = open(SAFE_KID, "|-")); if ($pid == 0) { $data = `$exec` or die "can't exec prog2file call: $!"; } else { @output = <SAFE_KID>; close SAFE_KID; # $? contains status } # end new code |
From: Chris N. <pu...@po...> - 2002-12-04 20:41:43
|
I am not convinced the two problems are the same. One is something hanging (probably in the called program, article.pl), the other is apparently something going wrong in the caller (slashd) that causes memory problems. If article.pl were the problem, slashd would not die from malloc problems. If freshenup.pl is hanging, not article.pl, well, that's another story. Anyway, one thing I might try if I felt up to it is recompiling my perl with perl's malloc, to see if that helps. Sometimes system mallocs don't work well with perl. But this requires some research (looking into other people's notes on your system's malloc with perl), and some work (recompiling perl and mod_perl). I'd also try adding print statements all the way through the code to see exactly where it is hanging. A previous poster said it was "print $out unless $opt->{Return}" ... that would be an odd place to hang, unless STDOUT were blocking or something weird. Barring that, I am not sure what the problem is. All I know is I don't see the problem on our systems. :-) -- Chris Nandor pu...@po... http://pudge.net/ Open Source Development Network pu...@os... http://osdn.com/ |
From: Marc M. <mwm...@ro...> - 2002-12-04 20:19:18
|
OK, now this one is from my home system. Which also has the problem when freshenup.pl tries to do a new article, except there is no perl malloc() message. Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=linux, osvers=2.4.18-11smp, archname=i386-linux-thread-multi uname='linux daffy.perf.redhat.com 2.4.18-11smp #1 smp thu aug 15 06:41:59 edt 2002 i686 i686 i386 gnulinux ' config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2 -march=i386 -mcpu=i686', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -I/usr/include/gdbm' ccversion='', gccversion='3.2 20020822 (Red Hat Linux Rawhide 3.2-5)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil libc=/lib/libc-2.2.92.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.2.92' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under linux Compiled at Sep 1 2002 23:56:49 @INC: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl Here is what slashd.log looks like at the time of the hang: Wed Dec 4 20:20:46 2002 Starting slashd with pid 9361 Wed Dec 4 20:20:46 2002 Starting up Slashd (verbosity 2) with pid 9361 Wed Dec 4 20:20:46 2002 processed /usr/local/slash/site/24.42.25.41/tasks; 19 successful (adminmail.pl daily.pl daily_archive.pl daily_forget.pl expire.pl flush_formkeys.pl freshenup.pl message_delete.pl message_delivery.pl new_headfoot.pl new_motd.pl open_backend.pl p2f_cheesy.pl p2f_hof_topics.pl refresh_authors_cache.pl run_moderatord.pl run_portald.pl set_recent_topics.pl spamarmor.pl); 0 failed Wed Dec 4 20:20:46 2002 first task will be freshenup.pl in 0 secs Wed Dec 4 20:20:46 2002 freshenup.pl begin Wed Dec 4 20:20:46 2002 freshenup.pl end (0.00s; new_headfoot.pl in 0s) Wed Dec 4 20:20:48 2002 new_headfoot.pl begin Wed Dec 4 20:20:50 2002 new_headfoot.pl end (2.01s; set_recent_topics.pl 4s late) Wed Dec 4 20:20:52 2002 set_recent_topics.pl begin Wed Dec 4 20:20:52 2002 set_recent_topics.pl end (0.01s; freshenup.pl in 68s) Wed Dec 4 20:22:00 2002 freshenup.pl begin Wed Dec 4 20:22:00 2002 Updating 02/12/04/2021249 Wed Dec 4 20:22:02 2002 article.pl virtual_user=virtslash ssi=yes sid='02/12/04/2021249' section='articles' bytes=10627 Wed Dec 4 20:22:02 2002 freshenup.pl updated articles:02/12/04/2021249 (testx) And that's as far as it goes. Chris Nandor wrote: >Can you provide the perl -V from the other box, plus any merror messages it >produced? > > > |
From: Chris N. <pu...@po...> - 2002-12-04 20:04:49
|
Can you provide the perl -V from the other box, plus any merror messages it produced? -- Chris Nandor pu...@po... http://pudge.net/ Open Source Development Network pu...@os... http://osdn.com/ |
From: Marc M. <mwm...@ro...> - 2002-12-04 19:45:03
|
It seems that freshenup.pl runs and when there are new articles, it calls prog2file. Prog2file found in System.pm executes something like 'index.pl virtual_user=virtslash ssi=yes' using $data=`$exec`. It seems that the child process works but doesn't return and this hangs everything. If a print statement is put after the prog2file call it doesn't hang every time, but it isn't a fix. It seems to be some kind of perl/system quirk with child processes. Pudge, as requested: Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=freebsd, osvers=4.5-release, archname=i386-freebsd uname='freebsd www 4.5-release freebsd 4.5-release #0: fri may 3 00:26:26 pd t 2002 us...@ja...:usrsrcsyscompile6300 i386 ' config_args='-de' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=unde f useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include', optimize='-O', cppflags='-fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='2.95.3 20010315 (release) [FreeBSD]', gccosandvers ='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize =8 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags ='-Wl,-E -L/usr/local/lib' libpth=/usr/lib /usr/local/lib libs=-lm -lc -lcrypt -lutil perllibs=-lm -lc -lcrypt -lutil libc=, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-DPIC -fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under freebsd Compiled at May 27 2002 22:41:53 @INC: /usr/local/lib/perl5/5.6.1/i386-freebsd /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl |