<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=GB2312">
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        FONT-SIZE: 10.5pt; COLOR: #000080; LINE-HEIGHT: 1.5; FONT-FAMILY: 宋体
}
</STYLE>
<META content="MSHTML 6.00.2900.6036" name=GENERATOR></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Hi Michael,</DIV>
<DIV> </DIV>
<DIV>I was told that the RHEV was down yesterday once, because <FONT
style="BACKGROUND-COLOR: #cce8cf">the select connections of postpresql database
were over 300. Unfortunately , my project became one of suspects to cause
that.</FONT></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cce8cf"></FONT> </DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cce8cf">As I know, my project does request
hundreds of REST API continuously in every 5 mins. </FONT><FONT
style="BACKGROUND-COLOR: #cce8cf">Will it cause the database too busy to work?
</FONT></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cce8cf"></FONT> </DIV>
<DIV>Best wishes, </DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>
<DIV><SPAN>
<DIV>
<DIV><SPAN style="FONT-SIZE: 10.5pt; COLOR: #000000; FONT-FAMILY: 宋体">Dean
Gao</DIV></SPAN></SPAN></DIV></DIV>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<DIV
style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; COLOR: #000000; PADDING-TOP: 8px">
<DIV><B>发件人:</B> <A href="mailto:mpastern@redhat.com">Michael
Pasternak</A></DIV>
<DIV><B>发送时间:</B> 2012-12-04 17:19</DIV>
<DIV><B>收件人:</B> <A href="mailto:gao.song@neusoft.com">gao.song</A>; <A
href="mailto:users@ovirt.org">users@ovirt.org</A></DIV>
<DIV><B>主题:</B> Re: How to delete Events in RHEV?</DIV></DIV></DIV>
<DIV>
<DIV>On 12/04/2012 10:43 AM, gao.song wrote:</DIV>
<DIV>> Hi Michael,</DIV>
<DIV>> </DIV>
<DIV>> Is there any REST API available to delete the events in RHEV please?</DIV>
<DIV> </DIV>
<DIV>no.</DIV>
<DIV> </DIV>
<DIV>> </DIV>
<DIV>> The events raises so fast because of the huge number of REST requests, and it causes that the RHEV environment runs very slowly. I have to find a way to clean some</DIV>
<DIV>> unimportant events.</DIV>
<DIV> </DIV>
<DIV>if you using > 3.1 backend, you should be using persistent authentication in api,</DIV>
<DIV>this way you'll have to pass JSESSIONID and login will happen only on first request.</DIV>
<DIV> </DIV>
<DIV>> </DIV>
<DIV>> Thanks.</DIV>
<DIV>> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------</DIV>
<DIV>> Dean Gao</DIV>
<DIV>> </DIV>
<DIV>> ---------------------------------------------------------------------------------------------------</DIV>
<DIV>> Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)</DIV>
<DIV>> is intended only for the use of the intended recipient and may be confidential and/or privileged of</DIV>
<DIV>> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is</DIV>
<DIV>> not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying</DIV>
<DIV>> is strictly prohibited, and may be unlawful.If you have received this communication in error,please</DIV>
<DIV>> immediately notify the sender by return e-mail, and delete the original message and all copies from</DIV>
<DIV>> your system. Thank you.</DIV>
<DIV>> ---------------------------------------------------------------------------------------------------</DIV>
<DIV>> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>-- </DIV>
<DIV> </DIV>
<DIV>Michael Pasternak</DIV>
<DIV>RedHat, ENG-Virtualization R&D</DIV></DIV><p>---------------------------------------------------------------------------------------------------<br>
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) <br>
is intended only for the use of the intended recipient and may be confidential and/or privileged of <br>
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is <br>
not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying <br>
is strictly prohibited, and may be unlawful.If you have received this communication in error,please <br>
immediately notify the sender by return e-mail, and delete the original message and all copies from <br>
your system. Thank you. <br>
---------------------------------------------------------------------------------------------------</p></BODY></HTML>