Hi,

I sent you yesterday two debian packages. You didn't get it?

The function Ape.config have a bug, when it open the config file the
file descriptor is not closed, so each time you receive an inlinepush a
new file descriptor is open and never closed. When you reach the r_limit
(max number of file descriptor open) the APE server will hang as he
can't open new socket. Replacing it by your password will avoid this.

Regards.
Tjeerd Kramer wrote:
> Dear Nicolas,
>
> Thanks for your assistance. I have replaced the password by my own
> password, as my system admin can't seem to compile a new version - he
> keeps getting errors. Can you send it to me by email, like you said
> you would on IRC?
>
> What I don't understand though, is how modifying this line would
> help... If the password check fails, it should fail at all times, not
> after running for a while, should it?
>
> Thanks,
>
> Tjeerd
>
> 2010/3/27 Nicolas Trani <[email protected] <mailto:[email protected]>>
>
>     Hi,
>
>     the issue you are experiencing is a know bug of APE 1.0. You have
>     two options to solve it :
>
>     - Update to APE git version (http://github.com/APE-Project/APE_Server)
>     Or
>     - Edit scripts/commands/inlinepush.js and replace at line 2
>     Ape.config("inlinepush.conf", "password") by your password
>
>     Regards.
>
>
>     tjeerdkramer wrote:
>     > Thanks for the help - what's the JS code to modify this limit?
>     >
>     > On 26 mrt, 02:51, ma liang <[email protected]
>     <mailto:[email protected]>> wrote:
>     >
>     >> 2010/3/25 tjeerdkramer <[email protected]
>     <mailto:[email protected]>>
>     >>
>     >>
>     >>
>     >>
>     >>> Hi,
>     >>>
>     >>> I am a new user to the APE project and I am enjoying it's power. I
>     >>> built something really nice, where I combine multithreading
>     >>> (multi_curl_*) in PHP with ajax push using APE's inlinepush.
>     >>>
>     >>> Everything worked fine. Then I launched the new version of my
>     website,
>     >>> had it run overnight and lost about 40% of my customers. When
>     I woke
>     >>> up, the APE server did not respond at all. Usually, when I
>     type the
>     >>> URL of my ape server, I get this:
>     >>>
>     >>> ---------
>     >>> APE Server
>     >>>
>     >>> No command given.
>     >>> http://www.ape-project.org/- Server 1.00 (Build Dec 10 2009
>     20:26:31)
>     >>> ---------
>     >>>
>     >>> This morning though, any request to this URL timed out. When I
>     checked
>     >>> the logs though, I could see some activity...
>     >>>
>     >>> ............
>     >>> 2010-03-25 10:30:22 - src/users.c:180 - New user - (ip :
>     >>> 212.170.112.70)
>     >>> 2010-03-25 10:30:47 - src/users.c:180 - New user - (ip :
>     88.0.141.195)
>     >>> 2010-03-25 10:31:06 - src/users.c:180 - New user - (ip :
>     >>> 90.224.176.40)
>     >>> 2010-03-25 10:31:09 - src/users.c:180 - New user - (ip :
>     >>> 82.59.174.183)
>     >>> 2010-03-25 10:31:09 - src/users.c:180 - New user - (ip :
>     >>> 80.153.61.249)
>     >>> ..........
>     >>> etc.
>     >>>
>     >>> Is it possible that there is a maximum of users that can
>     access the
>     >>> server at the same time? If so, how do I increase this limit?
>     >>>
>     >> You can add this limit by modify connect command's code, In JS
>     or C way.
>     >>
>     >>
>     >>> Do you also need to close anything on the clientside, by using
>     core
>     >>> quit?
>     >>>
>     >>> http://www.ape-project.org/docs/client/core/quit.html
>     >>>
>     >> I didn't use quit. Ape will delete timeouted user(generally in 45s)
>     >> automatically for us.
>     >>
>     >>
>     >>> Tjeerd
>     >>>
>     >>> --
>     >>> You received this message because you are subscribed to the Google
>     >>> Groups "APE Project" group.
>     >>> To post to this group, send email to
>     [email protected] <mailto:[email protected]>
>     >>> To unsubscribe from this group, send email to
>     >>> [email protected]
>     
> <mailto:ape-project%[email protected]><ape-project%[email protected]
>     <mailto:ape-project%[email protected]>>
>     >>> For more options, visit this group at
>     >>> http://groups.google.com/group/ape-project?hl=en
>     >>> ---
>     >>> APE Project (Ajax Push Engine)
>     >>> Official website :http://www.ape-project.org/
>     >>> Git Hub :http://github.com/APE-Project/
>     >>>
>     >>> To unsubscribe from this group, send email to ape-project+
>     >>> unsubscribegooglegroups.com
>     <http://unsubscribegooglegroups.com> or reply to this email with
>     the words "REMOVE
>     >>> ME" as the subject.
>     >>>
>     >
>     >
>
>
>     --
>     Nicolas Trani - Web engineer
>     Weelya - Improve the web
>     32 rue du faubourg boutonnet
>     34090 Montpellier
>     Tel: 04 67 169 778 - Fax: 09 57 91 99 91
>     http://www.weelya.com
>     http://www.ape-project.org
>
>     --
>     You received this message because you are subscribed to the Google
>     Groups "APE Project" group.
>     To post to this group, send email to [email protected]
>     <mailto:[email protected]>
>     To unsubscribe from this group, send email to
>     [email protected]
>     <mailto:ape-project%[email protected]>
>     For more options, visit this group at
>     http://groups.google.com/group/ape-project?hl=en
>     ---
>     APE Project (Ajax Push Engine)
>     Official website : http://www.ape-project.org/
>     Git Hub : http://github.com/APE-Project/
>
>     To unsubscribe from this group, send email to
>     ape-project+unsubscribegooglegroups.com
>     <http://unsubscribegooglegroups.com> or reply to this email with
>     the words "REMOVE ME" as the subject.
>
>
> -- 
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/ape-project?hl=en
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/
> Git Hub : http://github.com/APE-Project/
>  
> To unsubscribe from this group, send email to
> ape-project+unsubscribegooglegroups.com or reply to this email with
> the words "REMOVE ME" as the subject.


-- 
Nicolas Trani - Web engineer
Weelya - Improve the web
32 rue du faubourg boutonnet
34090 Montpellier
Tel: 04 67 169 778 - Fax: 09 57 91 99 91
http://www.weelya.com
http://www.ape-project.org

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

To unsubscribe from this group, send email to 
ape-project+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to