Locks on sessions database

2003-11-14 Thread Vijaya Dasari
Hi,

We have problem with locking of rows in the session database. We are
using postgres as the Store.

Configuration of the system is Apache 2.0.47 + Embperl 2.0b9 + 
mod_perl 1.99_09

I tried using MySQL as Store, but still the same problem.

| 40 | sessions | localhost | sessions | Query   | 313  | User lock |
SELECT GET_LOCK('Apache-Session-30fac6623276e16798300d56c8de3989', 3600)
|
| 41 | sessions | localhost | sessions | Query   | 266  | User lock |
SELECT GET_LOCK('Apache-Session-30fac6623276e16798300d56c8de3989', 3600)
|

Two processes are trying to acquire a lock ( seems simultaneously ) on
the same session id (row).
We did not had this problem with Apache 1.3

I tried to use Semaphore combinations, but has the same problem.

Thanks in advance,
Vijaya.


---
Vijaya Krishna Dasari
Heinz Nixdorf Zentrum fuer Informationsmanagement in der
Max-Planck-Gesellschaft (ZIM)
Phone:  +49-89-3299-1557
Fax: +49-89-3299-1555 
E-Mail: [EMAIL PROTECTED]
http: www.zim.mpg.de
Boltzmannstrasse 2/ITER Gebaeude 
D- 85748 Garching
GERMANY
---



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Possible DBIx::Recordset changes

2003-11-14 Thread Kaare Rasmussen
> 2. A new command called Replace.  It does a Delete followed by an
> Insert in those databases that don't support Replace.

Would be nice.

> 3. I'd like an enhancement to make IN work with placeholders, but

Same.
Now we're talking placeholders, I'd like them to work anywhere. It's necessary 
with subselects with where-clauses.

Another request is to enable the use of table aliases.

-- 
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize  Fax:3816 2501
Howitzvej 75   Åben 12.00-18.00Email: [EMAIL PROTECTED]
2000 FrederiksbergLørdag 12.00-16.00   Web:  www.suse.dk


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [mp2] segfault when generating graphs with GD::Graph under Embperl

2003-11-14 Thread Alexander Hartmaier


Hi Guys!

Another day, another try...another segfault ;-(

(gdb) run -X
Starting program: /usr/sbin/httpd -X

Program received signal SIGSEGV, Segmentation fault.
0x00e89582 in ?? ()
(gdb)
(gdb)
(gdb) BT
#0  0x00e89582 in ?? ()
#1  0x006e8c44 in ?? ()
#2  0x0106 in ?? ()
#3  0x006b9aa6 in ?? ()
#4  0x00508940 in ?? ()
#5  0x09c59c74 in ?? ()
#6  0x41414141 in ?? ()
#7  0xbff90488 in ?? ()
#8  0x00440bdd in ?? ()
#9  0x41414141 in ?? ()
#10 0x0968542c in ?? ()
#11 0x006e89e4 in ?? ()
#12 0x09c59c74 in ?? ()
#13 0x09b89b40 in ?? ()
#14 0xbff904a8 in ?? ()
#15 0x006c7493 in ?? ()
#16 0x09c59c74 in ?? ()
#17 0x00d3a410 in ?? ()
#18 0x0968542c in ?? ()

I rewrote the smaller one of the graph-generating epl's as perl code.

This is how i call the embperl page:

[-
  Execute('../call/flow-graph.epl', "$date", "src");
  Execute('../call/flow-graph.epl', "$date", "dest");
-]

And this the mod_perl way:

[-
  Execute({inputfile => '../call/flow-graph.pl', syntax => 'Perl', param =>
["$date", 'src']});
  Execute({inputfile => '../call/flow-graph.pl', syntax => 'Perl', param =>
["$date", 'dest']});
-]

Both lead to a segfault.

BUT:

If i call flow-graph.pl directly from the browser the page works!!!

@Martien: I forwarded the mail to you too because maybe you know something about
the problem as it occurs only with your GD::Graph module.

Thanks, Alex





Von:  Stas Bekman <[EMAIL PROTECTED]> am 13.11.2003 22:41



An:   Gerald Richter <[EMAIL PROTECTED]>
Kopie:Alexander Hartmaier/DEBIS/EDVG/[EMAIL PROTECTED], [EMAIL PROTECTED],
  [EMAIL PROTECTED]

Thema:Re: Antwort: Re: Antwort: Re: [mp2] segfault when generating graphs
  with GD::Graph under Embperl

Gerald Richter wrote:
> Hi Stas,
>
>>There is an easy way to work around it. Run the program under gdb and
>>it'll remember the trace even the memory (frames) gets corrupted.
>>
>>gdb /path/to/httpd
>>gdb> run -X
>>issue a request here and gdb will tell you that you've got a segfault
>> bt
>>will give you the trace.
>>
>
>
> This is excatly what we have done and which gives the above trace with does
> not contain any usefull informations ...

Sorry, Gerald. I've missed that detail then.

In which case you need to try to manually step through guessing some
breakpoints where things could go wrong.

__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

*2*




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [mp2] segfault when generating graphs with GD::Graph under Embperl

2003-11-14 Thread Gerald Richter
>
> If i call flow-graph.pl directly from the browser the page works!!!
>
How is the file run when you call it directly, as CGI or via
Apache::Registry ?

Gerald

--
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:   Tulpenstrasse 5  D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED]  Voice:   +49 6133 939-122
WWW:http://www.ecos.de/  Fax: +49 6133 939-333
--
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [mp2] segfault when generating graphs with GD::Graph under Embperl

2003-11-14 Thread Alexander Hartmaier


snip from httpd.conf:


SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI


Yours sincerly
Alexander Hartmaier

T-Systems

T-Systems Austria
TCS/Network Monitoring & Security Specialist
address: Hofmühlgasse 3-5, 1060 Wien
telephone: +43 (0)57057 - 4320
fax: +43 (0)57057 - 4152
mobile: +43 (0)676 8642 - 4320
mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.at




Von:  Gerald Richter <[EMAIL PROTECTED]> am 14.11.2003 12:38



An:   Alexander Hartmaier/DEBIS/EDVG/[EMAIL PROTECTED], Stas Bekman <[EMAIL 
PROTECTED]>,
  [EMAIL PROTECTED]
Kopie:[EMAIL PROTECTED], [EMAIL PROTECTED]

Thema:Re: [mp2] segfault when generating graphs with GD::Graph under Embperl

>
> If i call flow-graph.pl directly from the browser the page works!!!
>
How is the file run when you call it directly, as CGI or via
Apache::Registry ?

Gerald

--
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:   Tulpenstrasse 5  D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED]  Voice:   +49 6133 939-122
WWW:http://www.ecos.de/  Fax: +49 6133 939-333
--
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-

*2*




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [mp2] segfault when generating graphs with GD::Graph under Embperl

2003-11-14 Thread Gerald Richter
Alexander Hartmaier wrote:
> snip from httpd.conf:
>
> 
> SetHandler perl-script
> PerlResponseHandler ModPerl::Registry
> PerlOptions +ParseHeaders
> Options +ExecCGI
> 
>

So it seems to be only happening when Embperl is involved.

Any chance that you can send me a small test case of your GD script, that I
can run and debug here?

Gerald


> Yours sincerly
> Alexander Hartmaier
>
> T-Systems
>
> T-Systems Austria
> TCS/Network Monitoring & Security Specialist
> address: Hofmühlgasse 3-5, 1060 Wien
> telephone: +43 (0)57057 - 4320
> fax: +43 (0)57057 - 4152
> mobile: +43 (0)676 8642 - 4320
> mail: [EMAIL PROTECTED]
> Internet: http://www.t-systems.at
>
>
>
>
> Von:  Gerald Richter <[EMAIL PROTECTED]> am 14.11.2003 12:38
>
>
>
> An:   Alexander Hartmaier/DEBIS/EDVG/[EMAIL PROTECTED], Stas Bekman
>   <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Kopie:[EMAIL PROTECTED], [EMAIL PROTECTED]
>
> Thema:Re: [mp2] segfault when generating graphs with GD::Graph
> under Embperl
>
>>
>> If i call flow-graph.pl directly from the browser the page works!!!
>>
> How is the file run when you call it directly, as CGI or via
> Apache::Registry ?
>
> Gerald
>
> --
> Gerald Richter ecos electronic communication services gmbh
> IT-Securitylösungen * dynamische Webapplikationen * Consulting
>
> Post:   Tulpenstrasse 5  D-55276 Dienheim b. Mainz
> E-Mail: [EMAIL PROTECTED]  Voice:   +49 6133 939-122
> WWW:http://www.ecos.de/  Fax: +49 6133 939-333
> --
>>
>>   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
>>
> +-
>
> *2*

--
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:   Tulpenstrasse 5  D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED]  Voice:   +49 6133 939-122
WWW:http://www.ecos.de/  Fax: +49 6133 939-333
--
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Wiki and/or Forum

2003-11-14 Thread Benni Baermann
Hi!

Is there an WikiWiki and/or an discussion-forum programmed with
EmbPerl available as free software?

Benni
-- 
http://www.aymargeddon.de


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]