Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~60.4K People Reached
Favorite Tags
java x 192
c x 124
mysql x 106
php x 90
Member Avatar for newbie14

Hi All, I am having a system which receive data from around 30K gps . Each unit will be inserting concurrently around 1 minute. 1.What tweak should I add to cater for this? I target my ram to be 48Gb with 24 cpus. 2. Once the data grow should I …

Member Avatar for newbie14
0
414
Member Avatar for newbie14

I have the following socket connection codes. Where for every connection is one new thread. After receiving the data which is done via the producer then I put into a queue for next database processor which is the consumer. This works fine but the moment the queue gets build up …

Member Avatar for JamesCherrill
0
244
Member Avatar for newbie14

I have done a socket programming using bonecp as the database pooling for mysql. Suddenly I notice a lot of socket connection made but then after a few hours I got too many open files. I have set the timeout but somehow it did not timeout I don't know why. …

Member Avatar for newbie14
0
311
Member Avatar for newbie14

Dear All, I am looking for a tool which can help me generate reports and multiple types of charts. Can any one recommend based on their experience? I would like to manage to export minimal to excel and pdf too. I have seen one the php report maker unfortunately it …

Member Avatar for jiansheng.ding
0
418
Member Avatar for newbie14

I have the following snippet of codes first each of the thread is a socket waitign for connection where its gets a connection does all he necessary. Thereafter another section in the run it does this //run a new db connection and does a select where all those have not …

Member Avatar for rubberman
0
201
Member Avatar for newbie14

I am working on a small as2 message passing. Below are my codes. First is the host which will send the header and data to the server. Then the server is suppose to form a reply in this format http://www.edidev.net/edidev-ca/help/Using/Using_AS2/Using_MDN/MDNRequestFromAs2SubjMsg.htm <?php $header = "HTTP/1.0\r\n"; $header.= "CONNECTION: Keep-Alive \r\n\r\n"; // Here …

0
204
Member Avatar for newbie14

I have a very simple php curl application where below is my codes I used to send header and body to server. <?php $xml_data = "<Request><NewOrder>"; $URL = "http://localhost/rece1.php"; $header =""; // Build header as array for cURL option $header = "HTTP/1.0\r\n"; $header.= "MIME-Version: 1.0\r\n"; //$header.= "Content-type: application/PTI46\r\n"; $header.= "Content-length: …

0
196
Member Avatar for newbie14

Hi, Currently we have legacy system which is build purely using java and runs on jboss. We notice its using a lot of jms and also httpurl connectivity to pass on files. The system basically supports rossetta net framework where it allows file transfers between trading partners. We notice with …

Member Avatar for newbie14
0
161
Member Avatar for newbie14

I have googling a lot about this debate to move from table to div. What are your advices here to move or not. I have below my codes building layout using div. The issue I find with div for example below codes which I am referring to a template . …

Member Avatar for veera100
1
310
Member Avatar for newbie14

Dear All, I have a c# application where on normal I used a paper size fixed that is half letter(8.5 X 5.5). The problem now I want to design for a new paper size A4 but when I choose print it keep coming in the 8.5 by 5.5 size. Any …

Member Avatar for PRABHA1989
0
99
Member Avatar for newbie14

I am linking to a webservice all works fine. Below is my codes. private static void printSOAPResponse(SOAPMessage soapResponse) throws Exception { TransformerFactory transformerFactory = TransformerFactory.newInstance(); Transformer transformer = transformerFactory.newTransformer(); Source sourceContent = soapResponse.getSOAPPart().getContent(); System.out.print("\nResponse SOAP Message = \n"); StreamResult result = new StreamResult(System.out); transformer.transform(sourceContent, result); } I am not too …

Member Avatar for jwenting
0
133
Member Avatar for newbie14

I have a webservice to be accessed which is based on request and response. Below is how my php codes are works perfectly fine. class fNewRequest { function fNewReq($pTK, $pVID) { $this->pTK= $pTK; $this->pVID= $pVID; } } /* Initialize webservice with your WSDL */ $client = new SoapClient("http://**.**.**.*/**/**/***/webservice.asmx?WSDL"); /* Set …

0
125
Member Avatar for newbie14

I have UDP socket as below. I need to send back data to the client. I tried to capture both the ip and port but it shows me as Port is : -1 and InetAddress : null. What can I do to rectify on this? class ReceiverThread implements Runnable { …

Member Avatar for JamesCherrill
0
310
Member Avatar for newbie14

I am going to develop a web based point of sales system. It is going to be based on linux and php. Users will access it via internet and using browser as the tool. Problem is if the web server is down? The user want to be still able to …

Member Avatar for newbie14
0
158
Member Avatar for newbie14

I have a char all[1500]; which will store each network packet. I will convert the hex value into humand readable. Finally I need to extract the url. For e.g. I have this GET /mail/ HTTP/1.1\r\n. I know I can use first to decide if the word GET and HTTP/1.1. exist …

Member Avatar for newbie14
0
137
Member Avatar for newbie14

We have a socket application with lots of queries in it. The problem after doing some sample of jmap -histo we notice the number of sockets keep growing and resultsets fluctuates. Checked through and ensure all the resultset are closed and finally even the socket is close just based on …

Member Avatar for newbie14
0
889
Member Avatar for newbie14

I have my codes working where I got separate date and time columns. I would like to add one more column which have both date and time in. For the existing codes this how I did sprintf(all,'%02d:%02d:%02d.%06u%03u',CURDATE(),s / 3600, (s % 3600) / 60, s % 60, usec, nsec) I …

Member Avatar for newbie14
0
291
Member Avatar for newbie14

I have been taking few different heap snapshots. What I see is that the memory usage is not the same as reported by this codes. So how to know the exact memory is being used by my java application. I also see my leak report from MAT reports a lot …

Member Avatar for newbie14
0
286
Member Avatar for newbie14

Dear All, I have 2 tables one tblAssociate and tblData. The link between them is one to many. My search will be based on date time range where if I find even one data in tblData between the set range then I want to show the tblAssociate data. So I …

Member Avatar for 1stDAN
0
224
Member Avatar for newbie14

We are able to capture the whole packet hex values. The issue now from the hex values we want to dissect the level 3 protocol, application level protocol and also if the url value is present in the packet. How best to achieve this in C?

Member Avatar for newbie14
0
984
Member Avatar for newbie14

I am trying to install ossec on a centos 6.4 machine but only repo which have .rpm file are from atomicrepo but then installing it require to upgrade my mysql I am reluctant to do it so I have used mock to rebuild and manage to yum install later from …

Member Avatar for newbie14
0
173
Member Avatar for newbie14

Hi All,We have a java application which does deal with lots of insert,update and select statement.We are using bonecp. So we took some sample heap and analyse it with MAT and its pointing to jdbc leaking. Thus we went into the codes and ensure that all resultset,statement and connection are …

Member Avatar for newbie14
0
899
Member Avatar for newbie14

We have socket application which sends out quite a number of email out. So we decided to send huge number message into it which will trigger emails. Eventually we see the email are taking hours before it reach any of the inboxes either gmail,hotmail or yahoo etc. We have this …

0
368
Member Avatar for newbie14

We have a packet capture function which is as below. The issue now each of the hex value of packet I read and concat into a char *hex2Value using this code below. I would like to know is this the most efficienct method to concat all into one single string …

Member Avatar for newbie14
0
238
Member Avatar for newbie14

We have a java application running on Centos 6.4 what we notice is that the RES is around 370m which is more then the allocated max that is 256m. Does this signify that we the application is leaking? But overall the jstat gcutil does not show any FGC but quite …

0
110
Member Avatar for newbie14

Dear All, I am trying to install pf_ring on centos 6 using its user guide. I am stuck at page 10 for this command [ICODE]$ cd <PF_RING PATH>/userland/lib $ ./configure $ make[/ICODE] I get this error [CODE] make ar x libs/libpfring_dna_x86_64.a ar x libs/libpfring_mod_virtual_x86_64.a gcc -g -Wall -fPIC -I../../kernel -I../../vPF_RING/guest/kernel …

Member Avatar for newbie14
0
1K
Member Avatar for newbie14

We have a simple query and insert using C code linking to mysql db. The issue now on itself the script works fine. But when we put to run as a cron job the select query gives empty results and when we run back on the db there is results. …

Member Avatar for newbie14
0
679
Member Avatar for newbie14

We are trying to send several emails via C language on a centos 6.2 platform. Below are the codes. I added and left char *filename = ""; the I get error as sh: TEST: No such file or directory sh: TEST: No such file or directory sh: TEST: No such …

Member Avatar for newbie14
0
295
Member Avatar for newbie14

We have a php page inserting into mysql db. The problem all the tables in mysql we have been just using the default collation and character set as the latin1_swedish_ci. All have been working well where I can insert russian character and view it well. But I notice in the …

Member Avatar for diafol
0
302
Member Avatar for newbie14

I have a dropdown list on each cell of table row. Now what I need is dynamically add more dropdownlist on a particular cells with pressing the add button. Any code snippet to help on this? Thank you.

Member Avatar for newbie14
0
7K