My application is basically a content based router which will route MMS events.
The logger I am using is the one that comes with the OTP framework in SASL mode "*error_logger*"
The issue is ::
I am using a client to generate MMS events with default values. This client (in Java) has the ability to send high load of events in multiple THREADS
I am sending 100 events in 10 threads (each thread sending 10 MMS events) to the my router written in erlang/OTP.
The problem is , when such high load is received by my router , my Logger hangs i.e it stops updating my Log file. But the router is still able to route the events.
The conclusions that I have come up with is ::
1) Scheduling problem in erlang when such high load of events is received ( a seperate erlang process for each event).
2) A very unlikely deadloack state.
3)Might be due to sending events in multiple threads rather than sending them sequentially. But I guess a router will be connected to multiple service provider boxes , so I thought of sending events in threads.
Can anybody help mw in demystifying the problem?