当前位置:网站首页>Effect of ARP package on FTP dump under vxworks-6.6 system
Effect of ARP package on FTP dump under vxworks-6.6 system
2022-07-03 15:56:00 【ttxs5000】
1、 Application scenarios : In normal communication , plug-in unit (192.168.10.10) With external devices (192.168.10.20) Conduct UDP signal communication , When copying files on plug-ins , You need to disconnect the plug-in from the network cable of the external device , Link the plug-in to PC On board (192.168.10.30), Use FTP Dump files in the device
2、 Abnormal phenomenon : When using FTP Perform a large number of file dump operations (retr) when , There will be network abnormal problems from time to time , The error log is generally caused by the inability to allocate effective network resources , Then the network task of the system hangs .
3、 Troubleshoot problems :1) The first doubt is ,FTP Every operation of the dump function has malloc and free operation , Is it caused by memory block misalignment , Changing to static memory allocation does not solve this problem ;
2) Compared with , There was a failure loading the application , Just run BSP The program will not fail , The suspicion is caused by the application using the network ;
4、 Solution : stay PC Machine to plug-in FTP When copying files , Add plug-in end-to-end communication IP Address ( This example is 192.168.10.20), Prevent plug-ins from constantly sending ARP package , Problem solved
5、 speculation :VxWorks In the network protocol stack , The number of Ethernet packets in the network memory pool is fixed , When the plug-in sends out UDP Packet time , Because the corresponding IP Address , So send out ARP package , here UDP The package was not sent , It will also occupy a piece of network memory resources , When a large number of messages are sent , a large number of UDP The packet is full of network memory pool resources , Cause network communication failure .( The above is personal speculation , Which Daniel knows the specific reason , Please give me more advice )
边栏推荐
- 几种常见IO模型的原理
- Please be prepared to lose your job at any time within 3 years?
- Wechat payment -jsapi: code implementation (payment asynchronous callback, Chinese parameter solution)
- 通过进程PID获取可执行文件路径(QueryFullProcessImageName)
- 利用MySQL中的乐观锁和悲观锁实现分布式锁
- Srs4.0+obs studio+vlc3 (environment construction and basic use demonstration)
- Popular understanding of linear regression (II)
- ASEMI整流桥UMB10F参数,UMB10F规格,UMB10F封装
- 大csv拆分和合并
- Calibre LVL
猜你喜欢

详解指针进阶2

UnityShader——MaterialCapture材质捕捉效果 (翡翠斧头)

“用Android复刻Apple产品UI”(3)—优雅的数据统计图表

Tensorflow realizes verification code recognition (I)

Embedded development: seven reasons to avoid open source software

几种常见IO模型的原理
![App mobile terminal test [4] APK operation](/img/f1/4bff6e66b77d0f867bf7237019e982.png)
App mobile terminal test [4] APK operation

Visual upper system design and development (Halcon WinForm) -4 Communication management

Reading notes of "micro service design" (Part 2)
![App mobile terminal test [5] file writing and reading](/img/f1/4bff6e66b77d0f867bf7237019e982.png)
App mobile terminal test [5] file writing and reading
随机推荐
QT use qzxing to generate QR code
Semi supervised learning
Persisting in output requires continuous learning
"Remake Apple product UI with Android" (3) - elegant statistical chart
Seckill system 2 redis solves the problem of distributed session
Detailed pointer advanced 2
C language brush questions ~leetcode and simple questions of niuke.com
突破100万,剑指200万!
Second kill system 3 - list of items and item details
自定义注解
Detailed explanation of string function and string function with unlimited length
潘多拉 IOT 开发板学习(HAL 库)—— 实验5 外部中断实验(学习笔记)
String functions that you need to know
软件逆向破解入门系列(1)—xdbg32/64的常见配置及功能窗口
几种常见IO模型的原理
需要知道的字符串函数
Get the executable path through the process PID (queryfullprocessimagename)
深度学习之三维重建
Summary of JVM knowledge points
Visual upper system design and development (Halcon WinForm) -3 Image control